• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Configure Timeout On SSH Client Putty

by admin

Question: How to configure timeout on PUTTY to keep alive the ssh session?

The SSH Connection has timeout due to inactivity at the TCP communications level where the server will decide to disconnect if it sees no activity on the connection for a certain amount of time.

In order to configure timeout in Putty, check SSH Client App using the following settings, which can be tweaked to avoid this timeout (Similar settings can likely be found for other SSH apps including on handheld devices):

On a PC using PuTTy go to settings/Connections:

1. Set the “seconds between keepalives” to 10 (second)

2. The two checkboxes selected (Disable Nagle’s Algorithm, Enable TCP Keepalives).

3. Remember to save the settings so it works in future sessions also.

This should prevent the low-level timeout from happening.

putty timeout configuration settings

Filed Under: Linux

Some more articles you might also be interested in …

  1. loginctl: command not found
  2. How to allow only specific non-root user(s) to use crontab
  3. pkill Command Examples in Linux
  4. Creating and Removing Files and Directories Under Linux
  5. What are SELinux Modes and how to set them
  6. dmenu Command Examples in Linux
  7. How to add Source, Services and Ports to Firewall Zone in CentOS/RHEL 7 and 8
  8. How to clean YUM cache in CentOS / RHEL
  9. archlinux-java Command Examples in Linux
  10. mv Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright