Keep SSH connection alive in OSX
If you want to keep you SSH connection alive to avoid automatic disconnections it is very easy in OSX.
Open your terminal and run the following command:
Enjoy your ∞ connection... 😉
If you want to keep you SSH connection alive to avoid automatic disconnections it is very easy in OSX.
Open your terminal and run the following command:
cd ~/.sshCheck if you have a file named "config". If not, run:
touch configto create the config file. Then, add the following line in the "config" file
ServerAliveInterval 60With this command, the client (your computer) will send a null packet to the server every 60 seconds, thus keeping the SSH connection alive.
Enjoy your ∞ connection... 😉