{"id":751,"date":"2013-09-09T11:38:14","date_gmt":"2013-09-09T09:38:14","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=751"},"modified":"2013-09-09T11:38:14","modified_gmt":"2013-09-09T09:38:14","slug":"ssh-connection-closed-innactivity","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/ssh-connection-closed-innactivity\/","title":{"rendered":"SSH connection is closed because of innactivity"},"content":{"rendered":"<p>To avoid ssh connection closing when we have not entered commands over long period of times, add the following line to the end of file <strong>\/etc\/ssh\/ssh_config<\/strong><\/p>\n<pre class=\"dontquote prettyprint lang-xml\">\r\n ServerAliveInterval 60\r\n<\/pre>\n<p>The ssh client will send keep alives to the server and the ssh connection will not closed again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To avoid ssh connection closing when we have not entered commands over long period of times, add the following line to the end of file \/etc\/ssh\/ssh_config ServerAliveInterval 60 The ssh client will send keep alives to the server and the ssh connection will not closed again.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[97,96],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/751"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=751"}],"version-history":[{"count":3,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/751\/revisions"}],"predecessor-version":[{"id":754,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/751\/revisions\/754"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}