sshfs

How to mount remote machine’s directory on current host? This question originally came up when I wanted to use Kate to edit a configuration file on macOS. I normally ssh into macOS, cd to that directory, and then type kate <file> to try opening the file for editing. But huh? There’s no kate command. Oh right, because I’m in the macOS environment, of course there’s no kate! But this is a problem - am I restricted to only using vi to edit remote files? I see Asahi Lina smoothly using Kate to open projects and files across multiple Mac machines around her to edit back and forth during development. There must be some way to make this work. ...

2023-12-03

gpg-agent doesn't work anyway!

Solved by this command: gpg-connect-agent updatestartuptty /bye >/dev/null

2023-12-02

SSH notes

SSH 是一个我之前就想尝试使用的工具,当时只有对它的一个很简单的印象,就是可以通过它安全的访问另外一台电脑——的 Terminal。当然对它的具体原理和运行逻辑肯定是不了解的,包括它是怎么个安全法。只知道哦我可以通过它访问到比如说,当我自己打开 Terminal 时候首先展示在我面前的那一堆东西,其实就是在 $HOME directory 你输入比如 ls -al 命令出现的各个 directory。只是我可以看到另一台设备的这一堆东西。那当时这个需求也是没有那么强烈,所以就还是暂时搁置没有了解。 ...

2023-11-28