Re: [gentoo-user] autossh

2009-09-10 Thread Willie Wong
On Wed, Sep 09, 2009 at 11:08:43PM +0530, Penguin Lover Kaushal Shriyan squawked: > file `which autossh` > /usr/bin/autossh: POSIX shell script text executable > > http://paste.ubuntu.com/268077/ > > I dont see any of my env variables being called in that bash shell script. > > Please suggest a

Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 10:58 PM, Willie Wong wrote: > On Wed, Sep 09, 2009 at 06:11:20PM +0530, Penguin Lover Kaushal Shriyan > squawked: >> > file `which autossh` > > What about this command? I want to see if autossh is a wrapper script > so that it has its own environment. > >> $ AUTOSSH_POLL=10

Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 06:11:20PM +0530, Penguin Lover Kaushal Shriyan squawked: > > file `which autossh` What about this command? I want to see if autossh is a wrapper script so that it has its own environment. > $ AUTOSSH_POLL=100 autossh hostxxx > autossh[16050]: checking for grace period,

Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 5:21 PM, Willie Wong wrote: > On Wed, Sep 09, 2009 at 02:38:21PM +0530, Penguin Lover Kaushal Shriyan > squawked: >> $env | grep AUTOSSH >> AUTOSSH_GATETIME=0 >> AUTOSSH_POLL=10 >> >> I opened a new gnome-terminal >> >> Any further clue ? > > Okay, try running autossh with t

Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 02:38:21PM +0530, Penguin Lover Kaushal Shriyan squawked: > $env | grep AUTOSSH > AUTOSSH_GATETIME=0 > AUTOSSH_POLL=10 > > I opened a new gnome-terminal > > Any further clue ? Okay, try running autossh with the environment variable specified on the commandline, aka AUTO

Re: [gentoo-user] autossh

2009-09-09 Thread Kaushal Shriyan
On Wed, Sep 9, 2009 at 2:16 PM, Willie Wong wrote: > On Wed, Sep 09, 2009 at 11:34:31AM +0530, Penguin Lover Kaushal Shriyan > squawked: >> On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphy wrote: >> > On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan >> > wrote: >> >> export AUTOSSH_GATETIME=0 >> >> e

Re: [gentoo-user] autossh

2009-09-09 Thread Willie Wong
On Wed, Sep 09, 2009 at 11:34:31AM +0530, Penguin Lover Kaushal Shriyan squawked: > On Wed, Sep 9, 2009 at 1:09 AM, Joshua Murphy wrote: > > On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan > > wrote: > >> export AUTOSSH_GATETIME=0 > >> export AUTOSSH_POLL=100 > >> export AUTOSSH_PORT=20020 > >> e

Re: [gentoo-user] autossh

2009-09-08 Thread Kaushal Shriyan
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 host, I get >> >> autossh[13221]: checking for grace period, tries = 0 >> autossh[13221]: starting ssh (count 1) >> autossh[13221]: ssh chi

Re: [gentoo-user] autossh

2009-09-08 Thread Joshua Murphy
On Tue, Sep 8, 2009 at 7:12 AM, Kaushal Shriyan wrote: > Hi > > I am having issue with autossh host, 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[

[gentoo-user] autossh

2009-09-08 Thread Kaushal Shriyan
Hi I am having issue with autossh host, 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