• 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 prevent SSH connections from disconnecting due to inactivity when using MobaXterm

by admin

Question: How to prevent SSH connections from disconnecting due to inactivity when using MobaXterm client?

In most production environment setups, SSH connections are configured to get disconnect after a short period of inactivity. This can sometimes be frustrating as you may have to keep on logging in frequently. Well, you can try the workaround outlined below.

Change SSH connection settings in MobaXterm:

1. Go to the Settings menu:

2. Select Configuration:

Mobaxterm settings menu

3. In the popup window that will appear, select the SSH tab:

select SSH tab - ssh connection timeout Mobaxterm

4. In the SSH Settings section, enable the options “SSH keepalive” and also “Fix connection issues“.

ssh keepalive and fix connection issue Mobaxterm

5. Press OK to save the settings:

6. Create a new SSH session and check if that fixes the problem.

Filed Under: Linux, Solaris

Some more articles you might also be interested in …

  1. How to use tar command under Linux
  2. How to set up cron for automatic data collection from the system activity reporter (SAR) in Solaris 10 and 11
  3. How to Create yum Repository in CentOS/RHEL
  4. Beginners Guide to Tuning Profiles in CentOS/RHEL
  5. fakeroot Command Examples in Linux
  6. What are different Samba Server Types
  7. checkupdates : Command Examples in Linux
  8. awk Command Examples in Linux
  9. CentOS / RHEL : How to disable ssh for non-root users (allowing ssh only for root user)
  10. mkinitcpio Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright