Keep SSH connection alive

Published on

Let’s get straight to the point.

  1. Open /etc/ssh/ssh_config with nano, vi, or whatever editor you prefer.

  2. Uncomment or add the line ConnectTimeout 0 and ServerAliveInterval 30

Boom.

Here, have a slice of pizza 🍕