View previous topic :: View next topic |
Author |
Message |
dirtbag Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Wed Mar 11, 2009 2:33 pm Post subject: ssh disconnects |
|
|
from my gentoo server, I have a screen session with a ssh session in it to another server..
after about 2-3 days, it will time out with the message
Code: | Received disconnect from xx.xxx.x.xxx: 2: Timeout, your session not responding.
|
Ive looked all over and supposedly, putting
Code: | ServerAliveInterval 60 |
in my /etc/ssh/ssh_config
should send keepalives to keep the session up,
but this doesnt seem to help. I also run an iptables firewall on this gentoo box..
what else could be causing the disconnects?
-db |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ziggysquatch Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18885333244b3a0ac6662e3.png)
Joined: 16 Nov 2004 Posts: 172 Location: /USA/Minnesota
|
Posted: Wed Mar 11, 2009 3:09 pm Post subject: |
|
|
Does the server have ClientAliveInterval set to anything in the sshd_config file?
The man page says that the default is disabled so if it's not set in there then it's probably not the issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dirtbag Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Wed Mar 11, 2009 3:12 pm Post subject: |
|
|
well, I dont have control of the server..
cat: /etc/ssh/sshd_config: Permission denied
but I do see other users on the box who have been logged on there for 10 days now.
-db |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|