Sunday, December 30, 2012

How to keep ssh alive in terminal of Macbook

In macbook, I usually use ssh in terminal to connect to remote servers. However recently the terminal often becomes unresponsive after being idle for a while, then it prints the error "Write failed: Broken pipe" and quits the ssh connection.

The solution I found is to add the following line in ~/.ssh/config:
ServerAliveInterval 120

10 comments:

latest central government jobs said...

Nice Information in the post

Unknown said...

Know the latest information about various states exam results
AP Inter second year exam results
AP Intermediate 1st year result
HP Board HSC Results
Orissa Board Class 10th Results

kingrani said...

Check out the Latest Updates of Arunachal Pradesh PSC here
Click here to get Bank Jobs Notifications

sophia sophia said...

Thanks for this wonderful post. The information in this article is very helpful to me. Thanks a lot for sharing. Keep blogging.
Interest Waypoint
For dirty truth or dare questions for couples
Best Truth or Dare Questions for Couples who are getting Married Soon

Unknown said...

Very nice information Thank you for this Article
Current affairs

nice info this post
Current Affairs Quiz

Unknown said...

Very nice information Thank you for this Article
Current Affairs Quiz

nice info this post
Current affairs

Unknown said...

Very nice information Thank you for this Article
Current Affairs Quiz

Thank you so much for sharing this inforamation
Current affairs

Lopez said...

Thanks for writing this blog.
Amazing Science facts

FoodResearch said...

Thanks for writing this blog

Food Consultancy
food Consultant

MeriFain said...

The article is so good and so inspiring. I have an article about wheel spinner, and these articles show If you are interested in this type of article then go name wheel spinner to the site and read it. Thank you.

Visitors