On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphy<poiso...@gmail.com> wrote:
> On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan<kaushalshri...@gmail.com> 
> wrote:
>> Hi
>>
>> I am having issue with autossh hostxxxx, I get
>>
>> autossh[13221]: checking for grace period, tries = 0
>> autossh[13221]: starting ssh (count 1)
>> autossh[13221]: ssh child pid is 13224
>> autossh[13221]: check on child 13224
>> autossh[13221]: set alarm for 600 secs
>> autossh[13224]: execing /usr/bin/ssh
>>
>> My Autossh setting in my .bashrc are as  below
>>
>> export AUTOSSH_GATETIME=0
>> export AUTOSSH_POLL=100
>> export AUTOSSH_PORT=20020
>> export AUTOSSH_DEBUG=1
>>
>> When i test by disconnecting and reconnecting the internet, It takes
>> 10mins to prompt for a password. Can this time interval be reduced ?
>>
>> Thanks and Regards,
>>
>> Kaushal
>
> Where are you starting autossh from? The AUTOSSH_POLL variable in your
> .bashrc is, it would appear, being disregarded in whatever context
> autossh is starting in, otherwise you'd be seeing an up to 1 minute,
> 40 second delay on reconnecting, not 10 minutes.
>
> --
> Poison [BLX]
> Joshua M. Murphy
>
>

Hi Joshua

I am starting autossh somehost from the same gnome-terminal tab
session where my .bashrc is located

Any further clue ?

Thanks and Regards,

Kaushal

Reply via email to