{"id":95,"date":"2018-06-21T21:58:53","date_gmt":"2018-06-21T21:58:53","guid":{"rendered":"https:\/\/tog000.io\/?p=95"},"modified":"2018-06-21T21:58:53","modified_gmt":"2018-06-21T21:58:53","slug":"prevent-ssh-connections-from-timing-out-so-often","status":"publish","type":"post","link":"https:\/\/gtrisca.dev\/index.php\/2018\/06\/21\/prevent-ssh-connections-from-timing-out-so-often\/","title":{"rendered":"Prevent SSH connections from timing out so often"},"content":{"rendered":"<p>The default <span class=\"lang:default decode:true  crayon-inline\">null<\/span>\u00a0 packet used by an SSH client to keep the connection alive is usually sent every 5 minutes. If the SSH sessions are timing out frequently, it might help to send those packets faster.<\/p>\n<p>Add these lines to your SSH client configuration and profit:<\/p>\n<pre class=\"nums:false nums-toggle:false lang:default decode:true \" title=\"~\/.ssh\/config\">Host *\r\n    ServerAliveInterval 60\r\n    ServerAliveCountMax 2<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default null\u00a0 packet used by an SSH client to keep the connection alive is usually sent every 5 minutes. If the SSH sessions are timing out frequently, it might help to send those packets faster. Add these lines to your SSH client configuration and profit: Host * ServerAliveInterval 60 ServerAliveCountMax 2 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,17],"tags":[],"_links":{"self":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/95"}],"collection":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":2,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/95\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}