[NCLUG] ssh timeout

Mark Fassler fassler at monkeysoft.net
Fri Mar 2 12:13:40 MST 2001


On Fri, Mar 02, 2001 at 11:57:10AM -0700, Daniel Herrington wrote:
> I have a coyote linux firewall box, and I'm running ssh to a machine
> inside the firewall.  How can I increase the timeout value so that my
> ssh session stays connected longer without my having to keep it alive
> by typing in the term window?
> 
> Is it a firewall configuration setting, or and ssh configuration
> setting, or both?


This is an application thing.  In $HOME/.ssh/config put this:

	KeepAlive yes

In /etc/ssh/sshd_config put this:

	KeepAlive yes

You might also have to add KeepAlive to /etc/ssh/ssh_config



More information about the NCLUG mailing list