From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp proxies-alist not working for me Date: Tue, 03 Mar 2009 17:25:37 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236097447 12323 80.91.229.12 (3 Mar 2009 16:24:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2009 16:24:07 +0000 (UTC) Cc: help-gnu-emacs To: George Nurser Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 17:25:23 2009 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 1LeXQh-00044j-Fw for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2009 17:25:15 +0100 Original-Received: from localhost ([127.0.0.1]:60926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeXPM-0006g7-92 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2009 11:23:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeXP1-0006ea-3W for help-gnu-emacs@gnu.org; Tue, 03 Mar 2009 11:23:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeXOy-0006bl-Hw for help-gnu-emacs@gnu.org; Tue, 03 Mar 2009 11:23:29 -0500 Original-Received: from [199.232.76.173] (port=45755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeXOy-0006bZ-DH for help-gnu-emacs@gnu.org; Tue, 03 Mar 2009 11:23:28 -0500 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:51666) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeXOx-0007hq-WC for help-gnu-emacs@gnu.org; Tue, 03 Mar 2009 11:23:28 -0500 Original-Received: from slbhab.alcatel.de (slbhab.de.alcatel-lucent.com [149.204.245.33]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n23GNEgX019371; Tue, 3 Mar 2009 17:23:15 +0100 In-Reply-To: (George Nurser's message of "Tue\, 3 Mar 2009 00\:38\:17 +0000") User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) 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:62553 Archived-At: George Nurser writes: > Hi, Hi, > To ssh into our work computers e.g. nozzle.aaa.bbb.ccc.uk we need > first to ssh into the gateway charon.aaa.bbb.ccc.uk: > > ssh charon.aaa.bbb.ccc.uk > > and then either > > ssh nozzle > > or ssh nozzle.aaa.bbb.ccc.uk > > I have set up ssh from the MBP and between charon and nozzle such that > I do not need a password. > > Following the TRAMP 2.1.5 manual I then added to my > ~/Library/Preferences/Aquamacs\ Emacs/Preferences.el > > (add-to-list 'tramp-default-proxies-alist > '("\\." nil "/ssh:charon.aaa.bbb.ccc.uk:")) > (add-to-list 'tramp-default-proxies-alist > '("\\.aaa\\.bbb\\.ccc\\.uk" nil nil)) Please try the following (only one setting): (add-to-list 'tramp-default-proxies-alist '("nozzle" nil "/ssh:charon.aaa.bbb.ccc.uk:")) > [Actually there seems to be a typo in the manual -- it has an extra > single quote after uk: '("\\.aaa\\.bbb\\.ccc\\.uk'" nil nil))] There shall be \\' at the end, which means end-of-string. > --George Nurser. Best regards, Michael.