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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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. CentOS / RHEL : How to restore/recover a deleted volume group in LVM
  2. System Log File /var/log/messages Is Getting Deleted or Trimmed Automatically (CentOS/RHEL)
  3. CentOS / RHEL 5 : How to use the faillog command to track failed login attempts
  4. CentOS / RHEL 5,6 : How to reinstall GRUB loader from rescue mode
  5. How to mount USB flash drive in Linux
  6. CentOS / RHEL 7 : How to boot into Rescue Mode or Emergency Mode
  7. How to disable “Alt+Ctrl+Del” causing system reboot in CentOS/RHEL 7
  8. iSCSI troubleshooting : Targets Not Detected After Reboot
  9. How to increase swap space on Linux
  10. What is the purpose of “mysql.sys@localhost” user

You May Also Like

Primary Sidebar

Recent Posts

  • How to set the default character set in MySQL and how to propagate it in a master-master replication scenario
  • “Connection reset by peer” – error while ssh into a CentOS/RHEL system with a specific user only
  • MySQL: how to figure out which session holds which table level or global read locks
  • Recommended Configuration of the MySQL Performance Schema
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary