{"id":448,"date":"2015-03-15T10:03:33","date_gmt":"2015-03-15T10:03:33","guid":{"rendered":"https:\/\/ahorseforonebin.co.uk\/?p=448"},"modified":"2015-03-15T10:03:33","modified_gmt":"2015-03-15T10:03:33","slug":"remote-ssh-problems","status":"publish","type":"post","link":"https:\/\/ahorseforonebin.co.uk\/?p=448","title":{"rendered":"remote SSH problems"},"content":{"rendered":"<p>I spent last weekend working through a real pain in the arse problem: couldn&#8217;t get remote SSH access configured on to server C1.<\/p>\n<p>Local access via console worked brilliantly.<\/p>\n<p>And I could attach another device to the internal network and run SSH sessions to the internal IP that server C1 had been configured with.<\/p>\n<p>But I couldn&#8217;t get SSH consistently working, in a stable, always-up, kind of way, via remote.<\/p>\n<p>The best I could get was for remote SSH to stay up and running for around 20 minutes.<\/p>\n<p>In the end, frustrated beyond belief, I binned the router that Plusnet had supplied (a neat-looking Sagecom device).<\/p>\n<p>Then I looked out a spare Netgear router that I had at home.<\/p>\n<p>I copied the config details from my home-hosted NAS in to the spare Netgear router, and installed that in the datacentre.<\/p>\n<p>Changed the account credentials to match those of the datacentre, obv.<\/p>\n<p>And lo and behold, I had remote SSH.<\/p>\n<p>But for how long?<\/p>\n<p>An hour later it was still working.<\/p>\n<p>This was a new record.<\/p>\n<p>Three hours later it was still up and running.<\/p>\n<p>Twenty-one hours later, we were still golden.<\/p>\n<p>So it seems like, to me at least, that the Plusnet router had a &#8216;go to sleep&#8217; rule set in the firmware.<\/p>\n<p>If it hadn&#8217;t seen any port 22 traffic for around 20 minutes, it shut down port 22.<\/p>\n<p>And wouldn&#8217;t wake up when port 22 traffic came knocking on the door.<\/p>\n<p>Marvellous.<\/p>\n<p>Except not, obv.<\/p>\n<p>But the Netgear router fixed that and I had remote SSH and public port 80 access to the server C1.<\/p>\n<p>For 72 hours.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent last weekend working through a real pain in the arse problem: couldn&#8217;t get remote SSH access configured on to server C1. Local access via console worked brilliantly. And I could attach another device to the internal network and run SSH sessions to the internal IP that server C1 \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/ahorseforonebin.co.uk\/?p=448\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-admin"],"_links":{"self":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":1,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}