Hi All,
I'd like to use tramp to edit files on a remote host, but where I need
to be root to edit the files in question.
My first attempt was:
/sudo:myu...@thehost:/
...but this gave me:
ad-Orig-error: Cannot connect to different host `thehost' with `su'
connection method
After a bit of googling, I tried:
/multi:ssh:myu...@thehost:sudo::/
...but that gave me a rather uninformative:
tramp_exit_status 1
...even though I have tramp debug logging enabled.
I did see some other instructions involving adding stuff to my local ssh
config and then adding separate stuff in my .emacs file, but that seems
an unreasonable amount of work to have to do for each and every server I
ever want to edit a remote file on as root.
What am I doing wrong and what should I be typing in?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel