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: Nikos Apostolakis
Subject: Re: How to use "/multi:" method in tramp with emacs23?
Date: Sun, 07 Oct 2007 10:13:41 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

>>> Nikos Apostolakis <nikos.ap@gmail.com> writes:
>>>
>>>> the following syntax works for tramp in emacs22
>>>>
>>>> /multi:ssh:me@host1:ssh:me@host2:/path/to/file
>>>>
>>>> where host2 is a host that I can acces only from host1.  This
>>>> doesn't seem to work with emacs23 anymore.

[...]

>>  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:me@host1:"))
>

Ok, I did that, but it didn't work.  Just to make sure, after
setting the variable, to open the file "/path/to/file" in host2 I
should do "C-x C-f /me@host2:/path/to/file", right?  When I do that 
I get the message "File error: Permission denied" and a buffer 
named *ssh me@host2* containing "ssh: ssh: Name or service not known"
I also tried "C-x C-f /ssh:me@host2:/path/to/file" with the same 
results.

With emacs22 on the same machine I can connect to host2 via host1.

Thanks again,
Nikos





reply via email to

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