Posted: Tue Feb 05, 2008 5:42 Post subject: SSH Connection Keeps Dropping?
Hi all. I'm running v23 SP2 on a Linksys WRT54Gv3 and I have really only one issue. I secure shell into a Unix server to read my mail and it seems that something isn't working quite right. If I leave the SSH session to sit for a few minutes it gets cut off. This isn't my internet connection as if I use my old router the connection doesn't drop at all. I've looked through most of the router settings but I can't seem to find anything that would help this. Any ideas?
Posted: Thu Feb 07, 2008 8:44 Post subject: Re: SSH Connection Keeps Dropping?
BearJ wrote:
Hi all. I'm running v23 SP2 on a Linksys WRT54Gv3 and I have really only one issue. I secure shell into a Unix server to read my mail and it seems that something isn't working quite right. If I leave the SSH session to sit for a few minutes it gets cut off. This isn't my internet connection as if I use my old router the connection doesn't drop at all. I've looked through most of the router settings but I can't seem to find anything that would help this. Any ideas?
Thanks!
If you can run a tcpdump on both sides of the conversation, check to see if there is a RST being sent by the DD-WRT. I have this problem is V23SP2-STD on my GL-V1.1 . Out of no where in the middle of a conversation between 2 systems, the GL throws a spurious RST at the server side of the conversation, and the session is done for.
Another possible solution: set your SSH client to send periodic keep-alives to prevent the connection timing out. Exact mechanism varies depending on your client, but on my Linux system just add the line