Windows 10 - Ssh Connection Timeout

I have strange issue on my Windows 10.

I use Putty and WinSCP - on both clients the connection is closing after X amount of minutes of inactivity.

Is there a way of getting rid of this timeout?

1 Answer

The connection may be terminated by the server for inactivity, rather than by the program.

PuTTY keep connections alive

  • Load your connection session.
  • In the Category pane, click Connection.
  • Under "Sending of null packets to keep session active", in the "Seconds between keepalives", type 240 for 4 minutes (or less). PuTTY will now send a packet to the server every 240 seconds to keep the connection alive.
  • In the Category pane, click Session.
  • Click Save.

WinSCP keep connections alive

1

Your Answer

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

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest