1833996 Members
2035 Online
110063 Solutions
New Discussion

Re: ssh time out

 
Safarali
Valued Contributor

ssh time out

one of the user is telling that his session is exiting or time out after a some time
he is using fsecure terminal
I could not find any time out variable in sshd_config file I put the TMOUT value in /etc/profile and /etc/csh.login but still the same problem, your help in this matter is highly appreciated

Regards
Safar
4 REPLIES 4
Florian Heigl (new acc)
Honored Contributor

Re: ssh time out

Maybe it's a network issue that's causing his session to exit.

Look into the options KeepAliveTime and KeepAliveInterval for /etc/opt/ssh/sshd_config.

florian
yesterday I stood at the edge. Today I'm one step ahead.
Safarali
Valued Contributor

Re: ssh time out


Florian
Thanks for your reply but I donot have any variable KeepAlive

I commented out the following

ClientAliveInterval 0
ClientAliveCountMax 3
TCPKeepAlive yes
Steven E. Protter
Exalted Contributor

Re: ssh time out

Shalom Safar,

TMOUT will impact idle sessions. If an application, even one as simple as top is run, it will run forever.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Florian Heigl (new acc)
Honored Contributor

Re: ssh time out

What you uncommented should be the default values.

anyway, for a try change ClientAliveInterval 0 to 120.

Florian
yesterday I stood at the edge. Today I'm one step ahead.