👈 back home

Keep Alive SSH Sessions

Written by andy onJanuary 12, 2017

To enable the keep alive system-wide (root access required),

$ sudo nano /etc/ssh/ssh_config

or just your user

$ ~/.ssh/config

and add a line: ServerAliveInterval 300

Quit Terminal, and reopen.