Hi,
I’ve just set up a new Ubuntu 14.04 server and whenever I SSH to it it disconnects me in seconds if inactive.
I’ve done all the changes below, and still it disconnects me. What have I missed.
In the /etc/ssh/ssh_config file I have the following
Code:
ServerAliveInterval 100
In the /etc/ssh/sshd_config file I have the following
Code:
ClientAliveInterval 600
TCPKeepAlive yes
ClientAliveCountMax 10
In the /etc/default/ssh I have changed the SSHD_OPTS to
Code:
SSHD_OPTS='-F /etc/ssh/sshd_config'
In the ~/.ssh/config file I have the following
Code:
Host *
ServerAliveInterval 100
What else do I need to change to stop SSH disconnecting me???
Many thanks in advance.
Bookmarks