disable ssh-timout after some idle time
Iīm using Cygwin/X to remotely log into a linux-box. After some idle time, the session is closed.
<remotehostusername>.#Read from remote host <remotehost>: Connection reset by peer. Connection to <remotehost> closed.
I wonder where I could disable this default kick-the-idle-client behaviour?
After reading /etc/ssh/sshd_configsīs man page I could not figure out how to neither could I after giving my useraccountīs .bashrc of Cygwin a try.
Google told me, that ssh-sessions donīt get reset by the daemon, is that correct? Could anybody give me a hint from preventing the sshd to kick me and thus having to login again?
..ok, I re-read some stuff and actually this seems to do the trick.
To /etc/ssh/sshd_config I added:
What Iīm not quite sure about is, whether I just think I do not get kicked within half an hour due to the mentioned entry in sshd_conf, or if the default for logging me off the is higher anyway.
|All times are GMT -5. The time now is 09:06 PM.|