KeepAlives mit ssh

Frank Loeffler knarf.loeffler at freenet.de
Mit Mar 26 12:05:56 CET 2003


Hi,

Johannes Vieweg wrote:
> Über welches ssh sprichst Du? In meiner Man-page wird das nicht angezeigt.
> Ich habs in die ssh_config eingetragen und er mags auch nicht..

OpenSSH_3.4p1 Debian 1:3.4p1-1

Die Absaetze aus 'man ssh_config' :

KeepAlive
   Specifies whether the system should send TCP keepalive messages
   to the other side.  If they are sent, death of the connection or
   crash of one of the machines will be properly noticed.  of the
   machines will be properly noticed.  This option only uses TCP
   keepalives (as opposed to using ssh level keepalives), so takes a
   long time to notice when the connection dies.  As such, you prob­
   ably want the ProtocolKeepAlives option as well.  However, this
   means that connections will die if the route is down temporarily,
   and some people find it annoying.

   The default is ``yes'' (to send keepalives), and the client will
   notice if the network goes down or the remote host dies.  This is
   important in scripts, and many users want it too.
   To disable keepalives, the value should be set to ``no''.


ProtocolKeepAlives
   Specifies the interval at which IGNORE packets will be sent to
   the server during dile periods. Use this option in scripts to
   detect when the network fails. The argument must be an integer.
   The default is 0 (disabled), or 300 if the BatchMode option is
   set.

Ich denke mal, dass das Sekunden sein sollen (das steht naemlich nicht 
da, aber die 300 deutet auf 5 Minuten hin).

mfG, Frank



-- 
tlug Mailingliste
Archiv: http://www.tlug.de/archiv/
http://schwarz.thueday.de/mailman/listinfo/tlug_allgemein