help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to use "/multi:" method in tramp with emacs23?


From: Michael Albinus
Subject: Re: How to use "/multi:" method in tramp with emacs23?
Date: Sun, 07 Oct 2007 11:06:19 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Nikos Apostolakis <address@hidden> writes:

> address@hidden (Johan Bockgård) writes:
>
>> Nikos Apostolakis <address@hidden> writes:
>>
>>> the following syntax works for tramp in emacs22
>>>
>>> /multi:ssh:address@hidden:ssh:address@hidden:/path/to/file
>>>
>>> where host2 is a host that I can acces only from host1.  This
>>> doesn't seem to work with emacs23 anymore.
>>
>> From etc/NEWS (`C-h n'):
>>
>>     *** Multihop syntax has been removed.
>>     The pseudo-method "multi" has been removed.  Instead of, multi hops
>>     can be specified by the new variable `tramp-default-proxies-alist'.
>>
>
> I see, thanks for your answer.  For some reason the emacs snapshot
> package has the info documentation for an older version of tramp and
> I did't think to look at the news.  I found the documentation in the
> web but stil I am not sure how to set the variable
> `tramp-default-proxies-alist' to accomplish what the old "/multi"
> syntax did.  In the above example I have the ip addresses of host1
> and host2, how should I set the variable?

(add-to-list 'tramp-default-proxies-alist
             '("host2" "me" "/ssh:address@hidden:"))

> Thanks,
> Nikos

Best regards, Michael.




reply via email to

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