public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kaushal Shriyan <kaushalshriyan@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] autossh
Date: Wed, 9 Sep 2009 11:34:31 +0530	[thread overview]
Message-ID: <6b16fb4c0909082304m67d27053ie8bb31bfe17fa51d@mail.gmail.com> (raw)
In-Reply-To: <c30988c30909081239q417f76en759433fc0b46425@mail.gmail.com>

On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphy<poisonbl@gmail.com> wrote:
> On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan<kaushalshriyan@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	other threads:[~2009-09-09  6:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 11:12 [gentoo-user] autossh Kaushal Shriyan
2009-09-08 19:39 ` Joshua Murphy
2009-09-09  6:04   ` Kaushal Shriyan [this message]
2009-09-09  8:46     ` Willie Wong
2009-09-09  9:08       ` Kaushal Shriyan
2009-09-09 11:51         ` Willie Wong
2009-09-09 12:41           ` Kaushal Shriyan
2009-09-09 17:28             ` Willie Wong
2009-09-09 17:38               ` Kaushal Shriyan
2009-09-10  9:33                 ` Willie Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b16fb4c0909082304m67d27053ie8bb31bfe17fa51d@mail.gmail.com \
    --to=kaushalshriyan@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox