[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra ssh jump from whithin host

From: Ytsen de Boer
Subject: Re: Extra ssh jump from whithin host
Date: Fri, 24 Sep 2004 11:49:20 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

 GREAT! Thanks!

Michael Albinus wrote:
Ytsen de Boer <address@hidden> writes:

Dear readers,


 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)


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:address@hidden:"))

That reads "If I want to go to host "machine2" as "user2", I must pass

Accessing your second host is possible then simply by typing (again,
Emacs syntax)




Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]