kotoyuuko

CORE

昨日より、明日より、笑える今が一番大好き。
github
telegram
email

Keep SSH connection from automatically disconnecting

When connecting to a server using SSH on macOS, it always automatically disconnects. I used to manage with screen before, but recently I found a solution:

Edit the ~/.ssh/config file with the following content:

Host *
    ServerAliveInterval 30
    ServerAliveCountMax 3
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.