Re: SSH timing out



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

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.

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 ?

Aaron


.



Relevant Pages

  • Re: SSH timing out
    ... How do I stop the one timing out from doing so? ... TCPKeepAlive on the server, ... Don't forget to restart sshd after this and the change will be in affect at next login. ... there you find ConnectTimeout, setting this to 0 should prevent client side disconects ...
    (alt.linux)
  • Re: DOCSIS vulnerability
    ... Sure, you can get a config file onto the modem, but if ... the router will not allow the cable modem to finish booting (With some kind ... > items, a syslog server, a tftp server, a time server, and a config file to ... > rate limit their customers, it's how they keep their customers ...
    (Vuln-Dev)
  • Re: Deserialization exception when using MarshalByRef object with events
    ... In your server's config file you have the element outside ... > of code from the server, client, MarshalByRef object, and .config ... > public void Start ... > public class Bomb: MarshalByRefObject ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Better way to manage DNS
    ... parser that would inturn set options on a w2k/w3k server and export the ... Justin has been working on a parser for the config file and general ... > Microsoft MVP (Windows Server System: ...
    (microsoft.public.windows.server.dns)
  • Re: Which authenttication is better
    ... > PreferredAuthentications in the config file or on the command line. ... >>hostbased method" of protocol 1 is tried first, ... >>I was presented with the server host's RSA ... >>The fingerprint from the 2nd one didn't match ...
    (comp.security.ssh)