sshd times out and disconnects client
Soren
somian08@gmail.com
Fri Mar 28 18:23:57 GMT 2025
Hello Cygwinstas,
I've got a question about the cygwin ssh daemon running on Windows. I don't
know if there is a setting in sshd or in Windows that would alter the
behavior I am seeing. That's what I am hoping for.
When logging in from a Linux system to my Windows 10 box, there's a timeout
(of what duration, I am not precisely sure, maybe after 2 hours?) if I am
not doing anything over the ssh connection. The session is disconnected at
the server end. I find this a bit annoying. I might want to be doing
something else for a couple hours and then come back to the session, only
to find it's disconnected. This is in contrast to the reverse case, where I
am logging in to one of my Linux boxes from Windows: in that case, the
connection stays alive until I deliberately close it. The same with
sessions between Linux machines. It's only in the case of incoming
connections to sshd on cygwin/windows that I am seeing this.
Insights greatly appreciated.
Regards,
Your fellow loyal Cygwinista, Soren Andersen
More information about the Cygwin
mailing list