ssh client timeout?

Tom Mitchell mitch48 at sbcglobal.net
Tue Apr 27 22:54:10 UTC 2004


On Tue, Apr 27, 2004 at 09:08:18PM +0100, Kepa Lyman wrote:
> 
> By RTFM, did you mean this helpful entry at redhat.com 

Google search for things like:
  # yes is default for KeepAlive
  KeepAlive yes
In $HOME/.ssh/config

Also these commands:
 man ssh
 man sshd
 man sshd_config

 info ssh
 info sshd
 info sshd_config

 $HOME/.ssh/environment,$HOME/.ssh/config ;  /etc/ssh/ssh_confi
 env

Read all the details...  This one is inside out
in how it really works.

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.
                                                                                

Also for me the most serious impact for disconnection was the way
short DHCP lease time.  As soon as I increased the lease time to be
three times longer than the KeepAlive I had a chance.  This has little
to do with 'ssh' setup but ssh can be impacted by short leases.
Default DHCP lease times for many inexpensive NAT boxes is too short.


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.





More information about the fedora-test-list mailing list