Open file via SSH and Sudo with Emacs – Stack Overflow

Open file via SSH and Sudo with Emacs (Stack Overflow)

I want to open a file inside Emacs which is located on a remote server, with sudo powers on the server. I can open local files with sudo via Tramp like this: C-x C-f /sudo::/home/user/file But I …

Emacs TRAMP support, chaining ssh and sudo together FTW.

Leave a Reply