Re: SSH timing out
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 22:52:27 +0100
Aaron Gray wrote:
We have two remote servers both RedHat 9. One times out on SSH the other does not.
How do I stop the one timing out from doing so ?
It's difficult to say, but could look at your /etc/ssh/sshd_config and enable TCPKeepAlive on the server,
TCPKeepAlive yes
Don't forget to restart sshd after this and the change will be in affect at next login.
If the problem would be client side, then look at the /etc/ssh/ssh_config, there you find ConnectTimeout, setting this to 0 should prevent client side disconects
ConnectTimeout 0
But there can still be other problems like a bed gateway in between, which can cause the connection to break, but thats not so common.
//Aho
.
- Follow-Ups:
- Re: SSH timing out
- From: Aaron Gray
- Re: SSH timing out
- References:
- SSH timing out
- From: Aaron Gray
- SSH timing out
- Prev by Date: SSH timing out
- Next by Date: Help w/ At Utility
- Previous by thread: SSH timing out
- Next by thread: Re: SSH timing out
- Index(es):