[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp proxies-alist not working for me
From: |
Michael Albinus |
Subject: |
Re: tramp proxies-alist not working for me |
Date: |
Tue, 03 Mar 2009 17:25:37 +0100 |
User-agent: |
Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux) |
George Nurser <gnurser@googlemail.com> 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.