From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MlGIX-0000sR-Nk for garchives@archives.gentoo.org; Wed, 09 Sep 2009 06:04:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37B70E06B1; Wed, 9 Sep 2009 06:04:52 +0000 (UTC) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by pigeon.gentoo.org (Postfix) with ESMTP id DECBDE06B1 for ; Wed, 9 Sep 2009 06:04:51 +0000 (UTC) Received: by bwz27 with SMTP id 27so906535bwz.34 for ; Tue, 08 Sep 2009 23:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ZMbz5gcMFARes1+WQUWgCSu/YdTavZLMim2/ZqZRMOo=; b=gkOFT80YUCedC0CJVWD3AjnMueibJbMd87MCGAfWsCKdGdrJmqzRHy9PKeUsnQ2DyZ SzqxUNJNOWXrqYJcn5QDtWnSEMF2sqnM1YFzJi8KnhVHaYrzSv41mWDuVsS9mEHu+jPn mv3tGm2g+Nck9tWgaOiHGafEXgVVeIS5JDR7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=PH5m6l4RWe5out3JRjbvrr2xO77eD7j/3J+CgKFvDWwahKUQ+R0Rwe5VI/iOFLSfeY DiIWtscRRN6ZspuLJZjvA3Vyn1PW7RQQjhx7K4bE+SC3kj5ANMp4uhDjvvFIx01mq7zh TzLl4w14Lsc7ts/Q9lpsRp9Uajxbyuzju19YI= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.239.170.18 with SMTP id q18mr1477631hbe.50.1252476291099; Tue, 08 Sep 2009 23:04:51 -0700 (PDT) In-Reply-To: References: <6b16fb4c0909080412j136f714cn6f3df3e591d6441a@mail.gmail.com> From: Kaushal Shriyan Date: Wed, 9 Sep 2009 11:34:31 +0530 Message-ID: <6b16fb4c0909082304m67d27053ie8bb31bfe17fa51d@mail.gmail.com> Subject: Re: [gentoo-user] autossh To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9858b6e2-44be-448c-85e8-0c18d1a740b6 X-Archives-Hash: 9a332dcecf520ae6d0d25a554effe092 On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphy wrote: > On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan= wrote: >> Hi >> >> I am having issue with autossh hostxxxx, I get >> >> autossh[13221]: checking for grace period, tries =3D 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 =A0below >> >> export AUTOSSH_GATETIME=3D0 >> export AUTOSSH_POLL=3D100 >> export AUTOSSH_PORT=3D20020 >> export AUTOSSH_DEBUG=3D1 >> >> 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