[Tfug] ssh timeout

Sam Hart hart at physics.arizona.edu
Tue Jun 29 09:00:10 MST 2004


SSH does tend to timeout. As I recall, the option for ssh_config was 
"ConnectTimeout", but don't quote me on that... always check the man page 
first.

One thing you can do to keep your SSH connections more permanent (and 
versatile) is to use screen. Screen will keep the connections alive, and 
will even allow you to disconnect and reconnect them (while keeping them 
alive) so you can "move" your connections with you.

I use screen all the time to keep two mail accounts, four shells (two 
remote) and an IRC session active.

* On 04-06-28, Nathanial Hendler wrote:

> Ok, I'm going to ask my fellow Tucson linux friends for help.  I am getting
> disconnected from my ssh sessions after 10 minutes.  Here is the message I
> get...
> 
> [equant at xerxes equant]$ Read from remote host retards.org: Connection reset by
> peer Connection to retards.org closed.
> 
> The machine I am connecting to has "KeepAlive yes" in its /etc/ssh/sshd_config
> file.  On my local machine (Fedora RC1) I have "KeepAlive yes" in my
> ~/.ssh/config
> 
> There are some computers that I connect to through a vpn, and they never time
> out, but it seems like ssh connections to all other servers does timeout.  Can
> anyone suggest a solution?  I'd like to leave ssh connections up indefinately.
> 
> Thanks,
> Nathanial Hendler
> Tucson, AZ USA
> http://retards.org/
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> https://www.tfug.org/mailman/listinfo/tfug
> 

-- 
Sam Hart
University/Work addr. <hart at physics.arizona.edu>
Personal addr. <sam at samhart.net>
end



More information about the tfug mailing list