|
Secure Shell
Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 10:24AM Igor Bukanov (igor mir2 org) (2 replies) Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 03:08PM Asif Iqbal (vadud3 gmail com) (1 replies) Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 03:16PM Asif Iqbal (vadud3 gmail com) (1 replies) Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 08:18PM Asif Iqbal (vadud3 gmail com) Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 02:35PM Igor Bukanov (igor mir2 org) (1 replies) Re: How do I use ProxyCommand to connect to remote host using shared session enabled by ControMaster? Feb 08 2011 02:51PM Asif Iqbal (vadud3 gmail com) (1 replies) |
|
Privacy Statement |
> On Tue, Feb 8, 2011 at 9:35 AM, Igor Bukanov <igor (at) mir2 (dot) org [email concealed]> wrote:
>> On 8 February 2011 11:24, Igor Bukanov <igor (at) mir2 (dot) org [email concealed]> wrote:
>>> On 8 February 2011 04:20, Asif Iqbal <vadud3 (at) gmail (dot) com [email concealed]> wrote:
>>>> Is it possible to make it work as default for all hosts except the jumphost?
>>>>
>>>> I tried to replace the remotehost with `*' and then tried to fresh
>>>> start, like below
>>>
>>> I suppose you cannot do that since host * provides defaults for all
>>> hosts irrespective of the order. You can try to add an empty
>>> ProxyCommand to jumphost.
>>
>> I was wrong here, to disable the proxy command for jumphost set
>> ProxyCommand to none , not an empty string , as stated in ssh_config
>
> actually I understood that is what you meant and it is working perfect now.
>
> here is my latest setup
>
> $ cat ~/.ssh/config
> host jumphost
> hostname jumphost.example.net
> ForwardX11 yes
> ControlMaster auto
> ControlPath ~/.ssh/%r@%h:%p
> ProxyCommand none
> host *
> hostname remotehost.example.net
sorry no hostname entry there
> ProxyCommand ssh -T -a jumphost nc %h %p
>
> Thanks a lot for your help!
>
>> manual page, http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&sektion=5
>> .
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
[ reply ]