For some reason, I am getting automatically logged out of one of my shells on one Solaris box but not on the other one. I don't seem to have any bash variables set to auto logout. What else should I check?
|
feedback
|
|
the auto logout is happening due to the IdleTimeout variable is set in /etc/ssh/sshd_config I believe if you have KeepAlive set in your .ssh/config then it should stop (I haven't tested this though, so ymmv). | |||
|
feedback
|
|
I assume you checked for the TMOUT variable in your bash session, correct? Is there a firewall between your ssh client and the Solaris server in question? It might be dropping you after some amount of inactivity. If so, you could modify the sshd_config on the server and add the KeepAlive and ClientAliveInterval settings. | |||
|
feedback
|
|
I've found that Cisco devices in their default configuration can cause this. Do you have different Cisco devices between you and each server? | |||
|
feedback
|
|
Try setting | |||
|
feedback
|
|
Check the /etc/default/login (TIMEOUT) and /etc/profile (TMOUT) files. They have timeout settings for the login shell. | |||
|
feedback
|