From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikos Apostolakis Newsgroups: gmane.emacs.help Subject: Re: How to use "/multi:" method in tramp with emacs23? Date: Sun, 07 Oct 2007 10:13:41 -0400 Message-ID: <87myuv6mi2.fsf@Sullivan.bcc.cuny.edu> References: <87tzp37bfm.fsf@Sullivan.bcc.cuny.edu> <87fy0n9tv8.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191766495 23533 80.91.229.12 (7 Oct 2007 14:14:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2007 14:14:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 16:14:53 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IeWuD-00084B-0s for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Oct 2007 16:14:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeWu7-00021G-Rq for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Oct 2007 10:14:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IeWtp-0001vE-Ds for help-gnu-emacs@gnu.org; Sun, 07 Oct 2007 10:14:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IeWtm-0001kg-Ad for help-gnu-emacs@gnu.org; Sun, 07 Oct 2007 10:14:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeWtm-0001k7-4S for help-gnu-emacs@gnu.org; Sun, 07 Oct 2007 10:14:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IeWtl-0002W2-QO for help-gnu-emacs@gnu.org; Sun, 07 Oct 2007 10:14:26 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IeWtZ-0003yi-HJ for help-gnu-emacs@gnu.org; Sun, 07 Oct 2007 14:14:13 +0000 Original-Received: from 199.219.160.30 ([199.219.160.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Oct 2007 14:14:13 +0000 Original-Received: from nikos.ap by 199.219.160.30 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Oct 2007 14:14:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 199.219.160.30 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) Cancel-Lock: sha1:ks4qgNJnaK2EPnjP0ooQXyVGIWM= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48187 Archived-At: Michael Albinus writes: >>> Nikos Apostolakis 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