If you problems keeping your SSH connections live with Terminal (free wireless in coffee shop etc), here’s easy fix for ya
Create SSH config file from Terminal if it doesn’t exists:
nano ~/.ssh/config
And add text below to your new config file:
ServerAliveInterval 10
And that’s it!
