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. I've tried restarting the daemon with the line `KeepAlive no' in /etc/ssh/sshd_config, but that made no difference. I haven't yet tried running the daemon with debugging turned on. Until I do that, though, can anyone suggest why this might be happening? Thanks -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276
Is the home machine on a dialup connection? Is the connection going down and then back up? -- jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/ Circa 2000-Jun-21 17:06:03 -0700 schrieb Eric Hanchrow: : 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. : : I've tried restarting the daemon with the line `KeepAlive no' in : /etc/ssh/sshd_config, but that made no difference. : : I haven't yet tried running the daemon with debugging turned on. : Until I do that, though, can anyone suggest why this might be : happening?
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)