• 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. Linux OS Service ‘lm_sensors’
  2. How to Access VNC Server Through A Web Browser in Linux
  3. pvck Command Examples in Linux
  4. How to Rename KVM VM with virsh
  5. Secure Shell: Chrome Web Browser ssh client
  6. CentOS / RHEL 7 : How to set default target (default runlevel)
  7. Maintaining Linux filesystems using “fsck” and “tune2fs”
  8. How to set up cron for automatic data collection from the system activity reporter (SAR) in Solaris 10 and 11
  9. CentOS / RHEL 7 : How to check the status of a service using systemd
  10. CentOS / RHEL 6,7 : How to delete an iSCSI Target on the initiator (iSCSI client)

You May Also Like

Primary Sidebar

Recent Posts

  • qemu-system-x86_64: command not found
  • timedatectl: command not found
  • mpirun.openmpi: command not found
  • startkde: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright