2 ms·
If you can ssh into the remote box, you can edit files there via Tramp, even via sudo - C-x C-f /ssh:user@host|sudo:otheruser@host:/path/to/file, it'll prompt a
by throwanem 9y ago
If you can ssh into the remote box, you can edit files there via Tramp, even via sudo - C-x C-f /ssh:user@host|sudo:otheruser@host:/path/to/file, it'll prompt as needed for whatever credentials are required.
Still worth knowing the basics of vi, but Tramp has made it vanishingly rare at this point that I ever have to edit anything outside my main local Emacs session, which is nice.