IBM DataPower Operations Dashboard v1.0.17.0

A newer version of this product documentation is available.

You are viewing an older version. View latest at IBM DPOD Documentation.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Symptoms

SSH Sessions to DPOD servers disconnect after 5 minutes. This might become an issue when executing long-running system activities via SSH.

Cause

As part of the appliance hardening, a short timeout value (300 seconds) is set for the SSH session.

Resolution

To temporarily disable SSH timeout you may issue the following commands:


sed -i '/^.*ClientAliveInterval.*$/d' /etc/ssh/sshd_config
sed -i '/^.*ClientAliveCountMax.*$/d' /etc/ssh/sshd_config
service sshd restart

Once your long running activity has completed, issue the following commands to reinstate the short timeout settings:

sed -i 's/^.*ClientAliveInterval.*$/#ClientAliveInterval 300/' /etc/ssh/sshd_config
sed -i 's/^.*ClientAliveCountMax.*$/#ClientAliveCountMax 0/' /etc/ssh/sshd_config
service sshd restart
  • No labels