Forums

ssh connection reset

SSH connection resets after a short time of inactivity, how can I avoid it?

R.

That sounds like it might be happening on your local side -- are you using Windows? I believe that it tends to drop idle SSH connections -- you may be able to find out how to stop it from doing that by googling for something like "windows drops idle ssh connection"

thanks for your help,

yes, i was using ssh from windows powershell, i have added the ~/.ssh/config

Host * ServerAliveInterval 60

and it is working fine now

regards, R.

Excellent, thanks for confirming!