SSH keeps timing out, in spite of sshd_config edit
by walterbyrd from LinuxQuestions.org on (#5BWX2)
I think I am using the most recent version of 64-bit Ubuntu.
# uname -a
Linux www 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I checked the local, and global, profile configuration, I don't see anything there that could be causing the problem.
I edited /etc/ssh/sshd_config, and changed this line:
ClientAliveInterval 7200
My understanding is: that should give me two hours. But I am getting logged out in far less time than that. Maybe a minute or two.
Security is not that great of a concern. I need much more time.


# uname -a
Linux www 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I checked the local, and global, profile configuration, I don't see anything there that could be causing the problem.
I edited /etc/ssh/sshd_config, and changed this line:
ClientAliveInterval 7200
My understanding is: that should give me two hours. But I am getting logged out in far less time than that. Maybe a minute or two.
Security is not that great of a concern. I need much more time.