SSH connections hanging up after idle time, no problem

I have noticed that while I was working on a server through SSH and go to make coffee in my return the terminal was unresponsive. So to solve this problem just create a ~/.ssh/config file and put in it

Host *
ServerAliveInterval 30

Now your connections does not hangup anymore

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s