• 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. playerctl Command Examples in Linux
  2. How to Install Oracle Linux (UEK-2) with btrfs as a root filesystem
  3. flock Command Examples in Linux
  4. How to configure multicast on an IP address (interface)
  5. Examples of creating command alias in different shells
  6. pactree: command not found
  7. bitwise Command Examples in Linux
  8. ufw Command Examples in Linux
  9. apt-cache Command Examples
  10. Understanding Mac file timestamps

You May Also Like

Primary Sidebar

Recent Posts

  • bat: Print and concatenate files
  • bastet: Clone of the game Tetris in the terminal
  • bashmarks: Save and jump to commonly used directories using 1 character commands
  • bash Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright