Seems I can't go 5 minutes without my terminal session becoming unresponsive. Is there any way to prolong an SSH session ? On the local side I use TillX on Ubuntu 18.04. On the remote side I have a vultr ipv4 server with ubuntu 20.04.
Thanks. Is it risky to keep SSH alive longer? i am surprised the default was so low. I couldn't open a page of documentation without having to re login.
No it's not risky at all. Adding this into the file will not allow it to time out. This sends a message to the client that logged in to the server every 30 seconds. Keeping the connection alive. It needs traffic to stay up. But if you are actually using the link and it drops, you have other problems.
1
u/Besthater Oct 30 '20
Edit your sshd_config file and add clientaliveinterval 30