On Fri, May 12, 2006 at 05:32:23PM -0500, Filippo Giunchedi wrote: > Hi, > sorry in the delay to getting back to you! > > On Fri, Feb 03, 2006 at 12:48:54AM +0300, Alexandra N. Kossovsky wrote: > > If there are two autossh from different hosts to one destination, the > > second one will restart connection every 10 minutes pretending to have > > timeout. If I run autossh without -f flag, I get an error message: > > interesting problem, I mostly agree with your solution, could you please also > try to set AUTOSSH_DEBUG to see which messages you get?
without -f: bash$ AUTOSSH_DEBUG=1 autossh -g4NC [EMAIL PROTECTED] autossh[8095]: checking for grace period, tries = 0 autossh[8095]: starting ssh (count 1) autossh[8096]: execing /usr/bin/ssh autossh[8095]: ssh child pid is 8096 autossh[8095]: check on child 8096 autossh[8095]: set alarm for 600 secs [EMAIL PROTECTED]'s password: Warning: remote port forwarding failed for listen port 21021 with -f: bash$ AUTOSSH_DEBUG=1 autossh -fg4NC [EMAIL PROTECTED] bash$ in syslog: May 15 16:07:28 gondor autossh[8095]: checking for grace period, tries = 0 May 15 16:07:28 gondor autossh[8095]: starting ssh (count 1) May 15 16:07:28 gondor autossh[8096]: execing /usr/bin/ssh May 15 16:07:28 gondor autossh[8095]: ssh child pid is 8096 May 15 16:07:28 gondor autossh[8095]: check on child 8096 May 15 16:07:28 gondor autossh[8095]: set alarm for 600 secs May 15 16:07:45 gondor autossh[8109]: checking for grace period, tries = 0 May 15 16:07:45 gondor autossh[8109]: starting ssh (count 1) May 15 16:07:45 gondor autossh[8110]: execing /usr/bin/ssh May 15 16:07:45 gondor autossh[8109]: ssh child pid is 8110 May 15 16:07:45 gondor autossh[8109]: check on child 8110 May 15 16:07:45 gondor autossh[8109]: set alarm for 600 secs > > I am forwarding this bug to upstream, also. > > thanks for your report, > filippo > -- > Filippo Giunchedi - http://esaurito.net > PGP key: 0x6B79D401 > random quote follows: > > In God we trust, everybody else pays cash. > -- somewhere in England -- Alexandra N. Kossovsky OKTET Labs (http://www.oktetlabs.ru/) Phones: +7(812)956-42-86(mobile) +7(812)428-67-09(office) e-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

