SSH-Einstellungen auf Serverseite...

Stefan Pump lug at pumpnet.de
Tue Jul 29 09:38:10 CEST 2003


From: "Egon Gruber" <egon.gruber at sarnerweb.de>

> Wie kann ich in Zukunft automatisch überprüfen, dass wenn nach einer
> gewissen
> Zeit (z.B. 10 Minuten) keine Aktivität zwischen SSS-Client besteht, der
> Prozess einfach
> gekillt wird? Kann man das irgendiw in einer Konfigurationsdatei
> einstellen?


Vielleicht hilft Dir das weiter; man 5 sshd_config :
<cut>
     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.
However,
             this means that connections will die if the route is down tem­
             porarily, and some people find it annoying.  On the other hand,
             if keepalives are not sent, sessions may hang indefinitely on
the
             server, leaving ``ghost'' users and consuming server resources.

             The default is ``yes'' (to send keepalives), and the server
will
             notice if the network goes down or the client host crashes.
This
             avoids infinitely hanging sessions.

             To disable keepalives, the value should be set to ``no''.
</cut>

cu,
 Stefan

--
http://www.pumpnet.de
http://www.jsp-web.de
http://www.weinhandel-kappus.de
http://www.spump.de





More information about the Linux mailing list