SSH "Connection reset by peer" with screen saver

deesto

Registered
It seems that active SSH connections are being reset once my locked screen saver kicks in (after 5 minutes):
Code:
Read from remote host host1: Connection reset by peer
Connection to host2 closed by remote host.
Connection to host2 closed.

I'm told that even though I'm disconnected locally, my client continues to appear connected on the initial remote host (host1).

This problem seems concurrent with upgrading to 10.4.10, although I'm not sure how to determine that that is absolutely the case.
 
This is still an issue for me. I don't know what's causing the connection reset, but it happens consistently.
 
Weird. I haven't had any problems like that in 10.4.10, but my sessions on my iMac G5 haven't been long enough to probably tell the difference.

ARe you sure this has nothing to do with keepalives? I know that when I tunnel to my home computer through SSH from work I have to make sure that the keepalives on my client are set properly, otherwise Comcast decides to "cut the cord" when the session sits idle.
 
Thanks; I'll give that a try (adding ServerAlive[Internal|CountMax]) and see what happens. I thought TCPKeepAlive was supposed to do something similar, and that it is enabled by default ... but I even specified it explicitly in my config and it had no effect. Maybe this will be more effective.
 
Back
Top