On Mon, Apr 13, 2009 at 02:32:11AM -0400, Tom Metro wrote:
> Package: autossh
> Version: 1.4a-3
>
> /usr/share/doc/autossh/README.Debian says:
>
> [...]
>   Note: if your ssh client/server version is recent enough you can
>   obtain similar behaviour by setting ClientAliveCountMax and
>   ServerAliveInterval in /etc/ssh/sshd_config. See sshd_config(5).
>
> This echoes a recommendation made by autossh's author, and it is  
> supposedly a superior method of accomplishing connection monitoring.
>
> Given this, and that you know the range of SSH versions that will be  
> installed along side this Debian package (which should all be new enough  
> to support this...unless you're trying to support non-openssh clients  
> like dropbear), I recommend eliminating the random port selection logic  
> in the wrapper script, and instead have the wrapper script (pre)append  
> SSH options to implement the above.

Thanks for the hint but how to know if the server will correctly reply to alive
messages sent by the client? This also requires knowing what protocol version is
being used.

My point is that with aliveinterval enabled it becomes rather easy to implement
something like autossh with a shell script, anyhow it can be considered as an
option to the debian wrapper.

filippo
--
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

UNIX was not designed to stop its users from doing stupid things, as that
would also stop them from doing clever things.
-- Doug Gwyn



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to