Your message dated Fri, 19 Oct 2007 12:48:42 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#439796: autossh: fixed default port is a bad idea
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: autossh
Version: 1.3-4
Severity: normal
This is also related to #230780. Running two autossh's without
setting -M manually causes the second one to exit immediately without
doing anything; it tries to bind to the same port. Can't it get a
randomly assigned port like everything else does?
Especially bad with -f where "autossh silently exits" is indistinguishable
from "autossh backgrounds itself".
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages autossh depends on:
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii openssh-client [ssh-client] 1:4.6p1-5 secure shell client, an rlogin/rsh
autossh recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1.4a-3
On Wed, Oct 10, 2007 at 02:21:00PM +0200, Filippo Giunchedi wrote:
> I _think_ this got finally fixed in the last upload, right now the behaviour
> is
> this:
>
> autossh -M <port> <host> # connects to <host> using monitoring <port>
> AUTOSSH_PORT=<port> autossh <host> # connects to <host> using monitoring
> <port>
> autossh <host> # tries random monitoring port
>
> autossh -- -M <host> # connects to host using random monitoring port but
> passes
> -M to ssh
All these work for me too, and -M on the command line overrides
AUTOSSH_PORT. Thanks a lot!
--
Daniel Jacobowitz
CodeSourcery
--- End Message ---