Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

PuTTY connection to remote server freezing sporadically

Writer Sebastian Wright

I'm using PuTTY to connect to a remote Ubuntu server hosted on AWS. Every now and then the connection completely freezes and nothing I do makes it respond. It comes back by itself after a few minutes and then tries to apply all the gibberish I typed while trying to get it to respond.

Is there a way to avoid these freezes/minutes long lags and if not, is there a way know when it's happening, vs the keystrokes are reaching the server but have no effect in the current context?

2

1 Answer

One possibility for your problem is when the server thinks the SSH session is inactive. There are two keepalive options in PuTTY in the category Connection; you can try if it gets better when one or both are enabled:

  • Seconds between keepalives: Set to something like 10 or 20.
  • Enable TCP keepalives

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy