Info |
---|
The following document is applicable to All-in-One DPOD appliance mode installation only. In non-appliance installations, the operating system is under the responsibility of the customer, so the following procedure can only be used as an example. |
Symptoms
SSH Sessions to DPOD servers disconnect after 5 minutes. This might become an issue when executing long-running system activities via SSH.
...
To temporarily disable SSH timeout you may issue the following commands:
Code Block | ||
---|---|---|
|
...
...
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:
Code Block | ||
---|---|---|
|
...
sed -i 's/^.*ClientAliveInterval.*$/#ClientAliveInterval 300/' /etc/ssh/sshd_config
sed -i 's/^.*ClientAliveCountMax.*$/#ClientAliveCountMax 0/' /etc/ssh/sshd_config
service sshd restart |