News for hackers. Stuff that matters.
Re:Ask HN: moving beyond screen to persist SSH sessions? by Harkins on Tuesday February 10, 2009 @09:26AM (#475166)
You have to run your screen session from a stable host, not a laptop that gets disconnected all the time. Do you have a web host with ssh access? A buddy with a VPS somewhere? A spare $5 a month to spend on a shell account host to never have to deal with this again?

You could try using ssh-agent to reduce the pain of your connectivity issues, but screen really is the answer.

Re:Ask HN: moving beyond screen to persist SSH sessions? by sounddust on Tuesday February 10, 2009 @09:31AM (#475170)
I have plenty of access to shell accounts. But using a shell account to screen to another host just adds another layer of complexity, because when I lose my wi-fi connectivity for 1 second, then my SSH session to the shell account is lost instead of access to the real host. It still requires a waste of time logging into the shell account.
Re:Ask HN: moving beyond screen to persist SSH sessions? by jerf on Tuesday February 10, 2009 @09:51AM (#475196)
I think you may be constraining the solution down into impossibility. When you lose the network, you will lose the SSH sessions. Period. TCP will guarantee that. (Although not at "one second".) That's part of TCP's point.

The best you can hope for is either to set some stuff up as described so SSH automatically relogins to a screen session, or find a better network connection. Fundamentally, you can't patch around a bad network connection.

Re:Ask HN: moving beyond screen to persist SSH sessions? by sounddust on Tuesday February 10, 2009 @10:07AM (#475217)
Hmm, I think I just mis-stated my problem as being more difficult than it really is. I posted an example to the question for clarification.