Ssh Configure the SSH Connection Timeout
Jump to navigation
Jump to search
Internal
Overview
Server-Side Configuration
Edit /etc/ssh/sshd_config:
ClientAliveInterval 300 ClientAliveCountMax 0
This alone does not seem to be sufficient, the ssh session froze even after these changes were applied.
Client-Side Configuration
Not Tested Yet!
Create ~/.ssh/ssh_config and add:
ServerAliveInterval 60
then:
chmod go-rwx ssh_config