Hi@akhtar,
A PuTTY session left idle will disconnect at a time determined by the host server. Try enabling keep-alive in PuTTY. This causes PuTTY to send null SSH packets to the remote host periodically, preventing the session from timing out.
The PuTTY client can be configured to always establish a connection that will not time out due to inactivity. To create and save a new keep-alive connection, follow these steps.
-
Open the PuTTY application, and go to the Options panel (labeled "Category") on the left of the window.
-
Select (click) the "Connection" item.
-
In the "Sending of null packets to keep the session active" area on the right, change the default value of "Seconds between keepalives" from 0 (turn off) to 1800 (30 minutes).
-
Select the "Enable TCP keepalives (SO_KEEPALIVE option)" checkbox. Note: This option may not be available in older versions of the PuTTY client.
-
On the topmost left side of the Options panel, select (click) "Session".
-
In the "Host Name (or IP Address)" field, enter the destination hostname or IP address (e.g., "destination.ipaddress.here.com" or "192.168.1.1").
-
In the "Saved Sessions" text-entry box, provide a name for the session (e.g., "saved session").
-
Select "Save".
Hope this helps!
Thanks!