I love eshell's TRAMP integration. With it I can do cd /ssh:foo:/etc
to
ssh into a remote machine and visit its /etc/
directory. I can also do
find-file motd
to open this file in my local emacs. However, what if I need to use sudo to change the file? I know I can give the
full path, like so:
find-file /sudo:foo:/etc/motd
but is there a way to open the file via TRAMPs sudo support, without having to type the full path?