4 ms·
If you have to edit over SSH then you can do an sshfs mount instead. sshfs <user>@<server>:<path> ≤mountpt≥
by jcoffland 9y ago
If you have to edit over SSH then you can do an sshfs mount instead.
sshfs <user>@<server>:<path> ≤mountpt≥
- ht85 9y agoAlmost every time I have to edit text over SSH, it is to change configuration files that aren't writable for my SSH user. Can you sudo over sshfs somehow without logging as root?
- mixmastamyk 9y agoNote the user field in the above command. Desktop file managers can do this too.
- ht85 9y agoI explicitly said "without logging as root". SSH as root is almost never allowed on production servers. I was wondering if there is a way to write protected files when SSHing as a user who only has write permission through sudo.
- ams6110 9y agoTramp mode in emacs is what I use.