Re: SSH timing out
- From: "Aaron Gray" <ang.usenet@xxxxxxxxx>
- Date: Sun, 26 Feb 2006 18:27:26 -0000
__/ [ Aaron Gray ] on Saturday 25 February 2006 18:42 \__
We have two remote servers both RedHat 9. One times out on SSH the
other
does not.
My initial, instinctive gut feeling: firewall. I have been down that route
before. Check firewall policies and attempt to temporarily disable it.
Okay
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
It does not appear to be in '/etc/ssh/sshd_config' as this is the same on
both systems.
sshd_config config file has a KeepAlive but no TCPKeepAlive, so I tried
both, neither works.
I wouldn't have thought that descending to that level was necessary.
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.
Yes it could possibly be the firewall router box on that server ?
If the firewall is controlled by an intermediatery box, try some simpler
SSH
tests that go in different routes. Try other remote connections like
telnet
if necessary, even ping just to ensure nothing more fundamental is
preventing a connection.
The connections fine it just times out sooner than I would like.
It may well be the firewall router as this is different from my second site
which does not timeout.
Aaron
.
- References:
- SSH timing out
- From: Aaron Gray
- Re: SSH timing out
- From: J.O. Aho
- Re: SSH timing out
- From: Aaron Gray
- Re: SSH timing out
- From: Roy Schestowitz
- SSH timing out
- Prev by Date: Re: Yum Updates? Can Someone Explain
- Next by Date: Re: Partitioning Plan
- Previous by thread: Re: SSH timing out
- Next by thread: Help w/ At Utility
- Index(es):
Relevant Pages
|