Package: autossh
Version: 1.2g-3
Severity: normal

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:

autossh -g4N -L 8080:10.17.10.1:80 xxx.xxx.com
Warning: remote port forwarding failed for listen port 21021

It is good, but if I run autossh with -f key from init script, ssh warning
goes to /dev/null, with hardly understandable log messages:

Feb  2 22:53:15 serv autossh[8407]: starting ssh (count 2)
Feb  2 22:53:15 serv autossh[8407]: ssh child pid is 8489
Feb  2 23:03:29 serv autossh[8407]: timeout polling to accept read connection
Feb  2 23:03:29 serv autossh[8407]: port down, restarting ssh
Feb  2 23:03:29 serv autossh[8407]: starting ssh (count 3)
Feb  2 23:03:29 serv autossh[8407]: ssh child pid is 8591

The real reason of timeout is busy port on the remote end of tunnel, but it
took me for an hour to find the problem.
It will be very useful to get ssh stderr output into autossh log.

I've checked autossh-1.3 as well as 1.2g.

Thank you for your work,
    Alexandra.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (50, 'unstable'), (50, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages autossh depends on:
ii  libc6                2.3.2.ds1-22        GNU C Library: Shared libraries an
ii  ssh                  1:3.8.1p1-8.sarge.4 Secure rlogin/rsh/rcp replacement 

-- no debconf information

-- 
Regards,
        Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to