{"id":463,"date":"2013-04-24T12:20:21","date_gmt":"2013-04-24T10:20:21","guid":{"rendered":"http:\/\/songoku.homelinux.com\/wordpress\/?p=463"},"modified":"2013-04-24T12:20:21","modified_gmt":"2013-04-24T10:20:21","slug":"broken-pipe-error-on-ssh-session","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=463","title":{"rendered":"Broken pipe error on SSH session"},"content":{"rendered":"<p>\n\tThe &quot;broken pipe&quot; occurs when a SSH sessions times out. To resolve this you have 2 possibilities:\n<\/p>\n<p>\n\t<strong>Server-Side (Linux):<\/strong>\n<\/p>\n<ul>\n<li>\n\t\topen \/etc\/ssh\/sshd_config<br \/>\n\t\t<em># vim \/etc\/ssh\/sshd_config<\/em>\n\t<\/li>\n<li>\n\t\tuncomment the lines:<br \/>\n\t\tTCPKeepAlive Yes<br \/>\n\t\tClientAliveInterval 0 (change the 0 to 60, so every 60 seconds a keep alive packet is sent)\n\t<\/li>\n<li>\n\t\tsave the config\n\t<\/li>\n<li>\n\t\trestart ssh server<br \/>\n\t\t<em># service sshd restart<\/em>\n\t<\/li>\n<\/ul>\n<p>\n\t<strong>Client-Side (MacOSX\/Linux):<\/strong>\n<\/p>\n<ul>\n<li>\n\t\topen&nbsp;~\/.ssh\/ssh_config (linux) or&nbsp;<span style=\"font-size: 13px;\">~\/.ssh\/config (MacOSX)<\/span>\n\t<\/li>\n<li>\n\t\tadd following lines:<br \/>\n\t\tServerAliveInterval 60 (send packet every 60 seconds)\n\t<\/li>\n<li>\n\t\tsave file\n\t<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The &quot;broken pipe&quot; occurs when a SSH sessions times out. To resolve this you have 2 possibilities: Server-Side (Linux): open \/etc\/ssh\/sshd_config # vim \/etc\/ssh\/sshd_config uncomment the lines: TCPKeepAlive Yes ClientAliveInterval 0 (change the 0 to 60, so every 60 seconds a keep alive packet is sent) save the config restart ssh server # service sshd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10],"tags":[],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-mac-osx"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=463"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/463\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}