{"id":631,"date":"2015-05-20T17:05:33","date_gmt":"2015-05-20T22:05:33","guid":{"rendered":"http:\/\/www.webadminblog.com\/?p=631"},"modified":"2015-05-20T17:05:33","modified_gmt":"2015-05-20T22:05:33","slug":"ssh-on-a-mac-errors-with-write-failed-broken-pipe","status":"publish","type":"post","link":"https:\/\/www.webadminblog.com\/index.php\/2015\/05\/20\/ssh-on-a-mac-errors-with-write-failed-broken-pipe\/","title":{"rendered":"SSH on a Mac Errors with &#8220;Write Failed: Broken Pipe&#8221;"},"content":{"rendered":"<p>Recently I had an issue when moving to a new Mac on OSX when I was trying to SSH to a Linux server.\u00a0 It would make the initial connection and then prompt me for a password.\u00a0 Once I entered the password, however, it would just hang (ctrl+c wouldn&#8217;t even escape out) until eventually it would break to the command line with the message &#8220;Write Failed: Broken Pipe&#8221;.\u00a0 After digging through various posts online, most of which were referring to timing out due to inactivity, I finally found a winner.\u00a0 I edited the \/etc\/sshd_config file and set the <strong><em>ClientAliveInterval<\/em><\/strong> value to 300.\u00a0 Then, I rebooted my Mac.\u00a0 The next time I tried to SSH to the same server, everything connected as expected.\u00a0 I hope this helps someone else in the future who is running up against the same issue I had.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I had an issue when moving to a new Mac on OSX when I was trying to SSH to a Linux server.\u00a0 It would make the initial connection and then prompt me for a password.\u00a0 Once I entered the password, however, it would just hang (ctrl+c wouldn&#8217;t even escape out) until eventually it would [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[378,608,376,377],"tags":[349,609,613,18,610,611,614,257,17,612],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-linux-operating-systems","category-mac-osx","category-operating-systems","category-unix-operating-systems","tag-broken","tag-clientaliveinterval","tag-failed","tag-linux","tag-mac","tag-osx","tag-pipe","tag-ssh","tag-unix","tag-write"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pfI0c-ab","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":1,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/631\/revisions\/632"}],"wp:attachment":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}