Re: double sshing, using ProxyCommand
thomasse_at_pelops.inria.fr
Date: 04/07/04
- Next message: Paul Hink: "Re: double sshing, using ProxyCommand"
- Previous message: Jeff Smith: "Re: interaction with su-only accounts"
- In reply to: thomasse_at_pelops.inria.fr: "double sshing, using ProxyCommand"
- Next in thread: Paul Hink: "Re: double sshing, using ProxyCommand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 7 Apr 2004 15:58:57 +0000 (UTC)
In article <c5173i$1nd$1@news-rocq.inria.fr>,
thomasse@pelops.inria.fr () writes:
>Hi,
>Maybe this is a FAQ. In fact I found through google several people
>with a similar problem, but I have never read the true solution.
>
>I want to ssh to machine M1, and from there to machine M2.
>So I type (I have previously started an ssh-agent):
>My_Machine$ ssh -X -A -t M1 ssh -X M2
>M2$ ...I'm on M2, I'm happy...
>
>Now I want ssh to automatically discover that I need this sequence
>when I want to go to machine M2. The manual tells me that I should
>write something in my .ssh/config. Here it is:
>My_Machine$ cat .ssh/config
>Host M2
>ProxyCommand ssh -t -X -A M1 ssh -X %h
>
>Then I try to start ssh to M2:
>My_Machine$ ssh -t M2
>Pseudo-terminal will not be allocated because stdin is not a terminal.
>Pseudo-terminal will not be allocated because stdin is not a terminal.
>...and it gets stuck.
>
>I have checked with -v that I do use the ProxyCommand as mention in my
>config file. I have tried a number of options that I have seen
>suggested by various contributors, all in vain...
>Of course it makes no difference when I put explicitly M2 in place of
>"%h" in my config.
>Does anyone have a clue?
>Many thanks in advance for any help!
>--
>Francois . Thomasset @ inria . fr (please remove spaces to answer me)
I should have mentionned that My_Machine is under linux 2.4 (redhat 8)
like M2 (redhat 9), and M1 is an alpha under OSF1. We use protocol 2.
FT
- Next message: Paul Hink: "Re: double sshing, using ProxyCommand"
- Previous message: Jeff Smith: "Re: interaction with su-only accounts"
- In reply to: thomasse_at_pelops.inria.fr: "double sshing, using ProxyCommand"
- Next in thread: Paul Hink: "Re: double sshing, using ProxyCommand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|