Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh disconnects
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dirtbag
Guru
Guru


Joined: 18 Feb 2003
Posts: 508
Location: NC

PostPosted: Wed Mar 11, 2009 2:33 pm    Post subject: ssh disconnects Reply with quote

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
View user's profile Send private message
ziggysquatch
Apprentice
Apprentice


Joined: 16 Nov 2004
Posts: 172
Location: /USA/Minnesota

PostPosted: Wed Mar 11, 2009 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
dirtbag
Guru
Guru


Joined: 18 Feb 2003
Posts: 508
Location: NC

PostPosted: Wed Mar 11, 2009 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum