all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tramp proxies-alist not working for me
@ 2009-03-03  0:38 George Nurser
  0 siblings, 0 replies; 3+ messages in thread
From: George Nurser @ 2009-03-03  0:38 UTC (permalink / raw
  To: help-gnu-emacs

Hi,
I have Aquamacs 1.7 installed on a MBP running 10.5.6. I downloaded
and installed tramp 2.1.15 following the instrauctions at
http://samrandomness.blogspot.com/2008/10/aquamacs-15-and-tramp-2114.html

viz.
cd tramp-2.1.15
 ./configure --with-contrib
make
cp lisp/* ~/Library/Application\ Support/Aquamacs\ Emacs/site-lisp/
--all of this seemed OK.

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))

[Actually there seems to be a typo in the manual -- it has an extra
single quote after uk:  '("\\.aaa\\.bbb\\.ccc\\.uk'" nil nil))]



Unfortunately, then doing
/ssh:nozzle.aaa.bbb.ccc.uk:~

produces a process that dies. The *Messages* buffer gives:

Tramp: Opening connection for nozzle.aaa.bbb.ccc.uk using ssh...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh nozzle.aaa.bbb.ccc.uk   -q -e none && exit || exit'
Tramp: Waiting for prompts from remote shell [2 times]
File error: Process died
tramp-error: Process died

What have I missed?

--George Nurser.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tramp proxies-alist not working for me
       [not found] <mailman.2242.1236040704.31690.help-gnu-emacs@gnu.org>
@ 2009-03-03 16:25 ` Michael Albinus
  2009-03-07 11:01   ` George Nurser
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2009-03-03 16:25 UTC (permalink / raw
  To: George Nurser; +Cc: help-gnu-emacs

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tramp proxies-alist not working for me
  2009-03-03 16:25 ` Michael Albinus
@ 2009-03-07 11:01   ` George Nurser
  0 siblings, 0 replies; 3+ messages in thread
From: George Nurser @ 2009-03-07 11:01 UTC (permalink / raw
  To: Michael Albinus; +Cc: help-gnu-emacs

2009/3/3 Michael Albinus <michael.albinus@gmx.de>:
>
> Please try the following (only one setting):
>
> (add-to-list 'tramp-default-proxies-alist
>             '("nozzle" nil "/ssh:charon.aaa.bbb.ccc.uk:"))
>

Hi,
That worked. Many thanks.
--George.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-07 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03  0:38 tramp proxies-alist not working for me George Nurser
     [not found] <mailman.2242.1236040704.31690.help-gnu-emacs@gnu.org>
2009-03-03 16:25 ` Michael Albinus
2009-03-07 11:01   ` George Nurser

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.