3 ms·
Well, there is Tramp with the sudo edit method. To access the remote machine via ssh and then use sudo to root access the files: /ssh:user@localhost|sudo:
by lokedhs 6y ago
Well, there is Tramp with the sudo edit method.
To access the remote machine via ssh and then use sudo to root access the files:
/ssh:user@localhost|sudo:localhost:/path/to/file
This is using the multi-hop solution as explained here:
https://www.gnu.org/software/emacs/manual/html_node/tramp/Ad_002dhoc-multi_002dhops.html https://www.gnu.org/software/emacs/manual/html_node/tramp/Ad...
https://emacs.stackexchange.com/questions/17725/how-to-sudo-save-file-in-tramp-mode https://emacs.stackexchange.com/questions/17725/how-to-sudo-...