3 ms·
Almost 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 witho
by ht85 9y ago
Almost 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.