用Emacs远程编辑文件及相关笔记
Emacs编辑远程文件
非常简单:C-x C-f后/ssh:user@host#port:file
由此可以推出一个小技巧:
Emacs编辑本地需要sudo的文件
/ssh:root@locahost:file
过程中可能会遇到的问题:
1问题:ssh: connect to host localhost port 22: Connection refused原因:没装openssh-server解决:安装即可
2问题:ssh root@localhost并输入密码后报permission ...
hashnode.fancyoung.com1 min read