I connect to my Ubuntu 14.04 VPS using putty. The connection used to just stay alive indefinitely. Now though I seem to be getting a disconnect after a certain amount of time.
I have done some Google searches but can't find something to solve my issue.
My /etc/ssh/sshd_config file has "TCPKeepAlive yes" set up in it. Is there some other setting I need?
The only changes I have made recently are that Installed and setup fail2ban.
ClientAliveInterval 120
to the/etc/ssh/sshd_config
file and then check..