Gentoo Archives: gentoo-user

From: Joshua Murphy <poisonbl@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] autossh
Date: Tue, 08 Sep 2009 19:39:11
Message-Id: c30988c30909081239q417f76en759433fc0b46425@mail.gmail.com
In Reply to: [gentoo-user] autossh by Kaushal Shriyan
1 On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan<kaushalshriyan@×××××.com> wrote:
2 > Hi
3 >
4 > I am having issue with autossh hostxxxx, I get
5 >
6 > autossh[13221]: checking for grace period, tries = 0
7 > autossh[13221]: starting ssh (count 1)
8 > autossh[13221]: ssh child pid is 13224
9 > autossh[13221]: check on child 13224
10 > autossh[13221]: set alarm for 600 secs
11 > autossh[13224]: execing /usr/bin/ssh
12 >
13 > My Autossh setting in my .bashrc are as  below
14 >
15 > export AUTOSSH_GATETIME=0
16 > export AUTOSSH_POLL=100
17 > export AUTOSSH_PORT=20020
18 > export AUTOSSH_DEBUG=1
19 >
20 > When i test by disconnecting and reconnecting the internet, It takes
21 > 10mins to prompt for a password. Can this time interval be reduced ?
22 >
23 > Thanks and Regards,
24 >
25 > Kaushal
26
27 Where are you starting autossh from? The AUTOSSH_POLL variable in your
28 .bashrc is, it would appear, being disregarded in whatever context
29 autossh is starting in, otherwise you'd be seeing an up to 1 minute,
30 40 second delay on reconnecting, not 10 minutes.
31
32 --
33 Poison [BLX]
34 Joshua M. Murphy

Replies

Subject Author
Re: [gentoo-user] autossh Kaushal Shriyan <kaushalshriyan@×××××.com>