Prevent your SSH connection from locking up
Have you ever been working on a Terminal shell SSH session, get busy and then went back to the shell to issue some more commands or look at something only to find that the shell window has locked up.
This requires you to close the Terminal window, open a new one and then login to your remote session again.
In a previous post here, I showed you how to create a ~/.ssh/config file.
Simply add these two lines to your ~/.ssh/config file and any SSH connection that you have to a remove server should not lock up.
ServerAliveCountMax 3 ServerAliveInterval 10