Quantcast
Channel: ademcan's blog
Viewing all articles
Browse latest Browse all 20

Keep SSH connection alive in OSX

$
0
0
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:
cd ~/.ssh
Check if you have a file named "config". If not, run:
touch config 
to create the config file. Then, add the following line in the "config" file
ServerAliveInterval 60
With 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... 😉


Viewing all articles
Browse latest Browse all 20

Trending Articles