I’ve followed the instructions in the 2 questions below:
Despite this, my SSH connection drops extremely frequently, often after less than a minute of inactivity. When the connection drops, the terminal window freezes and I have to close it and open a new one. I know that the user session is kept alive for a while by the host.
Any suggestions beyond:
ClientAliveInterval 30 TCPKeepAlive yes ClientAliveCountMax 99999
and restarting the daemon?
Connecting from macOS Big Sur using iterm 2. Connections to other machines (not Digital Ocean) absolutely normal.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.