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)
On Tue, Feb 8, 2011 at 5:24 AM, 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.
>

Hopefully I am not pushing it :-) , but is it possible to factor in
the IP network I am connecting from in my config file?

So if I am connecting from 192.168.1.0/24 block, usually when I am
home, *only* then login to remotehost using the proxy command.

But if I am connecting from 10.13.137.0/22 block, usually when at
work, do not use proxy command.

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


 

Privacy Statement
Copyright 2010, SecurityFocus