Open file via SSH and Sudo with Emacs – Stack Overflow Emacs TRAMP support, chaining ssh and sudo together FTW.