also check the parameter "ClientAliveInterval" in the server side (/etc/ssh/sshd_config),

and check if the environment (shell) variable TMOUT is set .


- doron





Amos Shapira wrote:

On 11/12/2007, Biran, Yahav (Yahav) <[EMAIL PROTECTED]> wrote:
Hi all,
when ever I connect to a linux server using ssh, the connection is timeout 
after less then a 3 min without interacting with the server.

I used to get this too until I set "ServerAliveInterval" to "120" in
my .ssh/config.

See "man ssh_config" about this parameter.

I also set the following on the server side (at least on overseas servers):
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 4

See "man sshd_config" about these. I can't remember right now what's
the exact significance of these parameters.

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to