GREAT! Thanks!
Michael Albinus wrote:
Ytsen de Boer <[EMAIL PROTECTED]> writes:
Dear readers,
Hi,
How can I, in emacs, use tramp, to edit a file on that second machine? What do I type in the `find file' field? I have no problem establishing the first connection, but then the extra ssh jump? Or could I make some kind of link?
It depends on the Tramp version you use.
In Tramp 2.0.*, there is the multi-hop method. You would type something like (Emacs syntax)
/multi:ssh:[EMAIL PROTECTED]:ssh:[EMAIL PROTECTED]:/path/to.file
Since Tramp 2.1.1, this has been replaced by the concept of default proxies. The same example, you would configure in your .emacs
(add-to-list 'tramp-default-proxies-alist '("machine2" "user2" "/ssh:[EMAIL PROTECTED]:"))
That reads "If I want to go to host "machine2" as "user2", I must pass "/ssh:[EMAIL PROTECTED]:".
Accessing your second host is possible then simply by typing (again, Emacs syntax)
/ssh:[EMAIL PROTECTED]:/path/to.file
Cheers,
Ytsen.
Best regards, Michael.
_______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/tramp-devel