Stopping ssh from auto disconnecting

Bharat Kalluri / 2020-09-30

SSH = Secure Shell

SSH keeps disconnecting after a while. You can fix that by sending a heartbeat every once in a while. Add this to ~/.ssh/config

Host *
  ServerAliveInterval 240

and also make this file read-able to all (chmod 600 ~/.ssh/config)

Spotify album cover