X clients die after a while

Damien Miller djm at mindrot.org
Thu Jun 22 20:43:02 EST 2000


On 21 Jun 2000, Eric Hanchrow wrote:

> The following message is a courtesy copy of an article
> that has been posted to comp.security.ssh as well.
> 
> I have sshd (from openssh 1.2.3) running on my home machine (Debian
> GNU/Linux 2.2), and when I'm at work I like to start an Emacs like
> this:
> 
>         ssh -f -l offby1 my.home.machine.net emacs
> 
> (At work I use ssh 1.2.27 from http://www.cs.hut.fi/ssh on RedHat
> 6.2.)
> 
> This works fine, except: often, after iconifying Emacs and then not
> using it for a while (an hour or two), I will restore it, and it will
> then vanish.  At the shell prompt from which I started the ssh client,
> I will see a message that says `read from my.home.machine.net:
> connection reset by peer'.  There will be no log message on the server
> machine to indicate what went wrong.

Are you behind a masquerading or otherwise stateful firewall? There
are often implicit timeouts which can clobber long running but 
quiescent TCP connections.

-d

-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)









More information about the openssh-unix-dev mailing list