{"id":103,"date":"2014-10-12T09:55:15","date_gmt":"2014-10-12T09:55:15","guid":{"rendered":"http:\/\/gurunoia.lochan.org\/blog\/?p=103"},"modified":"2014-10-12T10:22:25","modified_gmt":"2014-10-12T10:22:25","slug":"plink-port-forwarding-works-but-puttys-doesnt","status":"publish","type":"post","link":"https:\/\/gurunoia.lochan.org\/blog\/2014\/10\/plink-port-forwarding-works-but-puttys-doesnt\/","title":{"rendered":"plink port forwarding works but PuTTy&#8217;s doesn&#8217;t"},"content":{"rendered":"<p>Bizarrely, the answer is &#8220;fonts&#8221;!<\/p>\n<p>Spent ages last night trying to work out why on my new PC forwarding 9418 to localhost port 9418 wasn&#8217;t working:<\/p>\n<p><a href=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-1.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-106\" src=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-1.png\" alt=\"forwarding-1\" width=\"466\" height=\"448\" srcset=\"https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-1.png 466w, https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-1-300x288.png 300w, https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-1-312x300.png 312w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/a><\/p>\n<p>Curiously, X11 forwarding worked, and plink -L 9418:localhost:9418 &#8230; worked too &#8211; but the above didn&#8217;t. Can you see it?<\/p>\n<p>The new PC has lots of pixels and the text was small. I first typed this<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-107\" src=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2014\/10\/forwarding-2.png\" alt=\"forwarding-2\" width=\"278\" height=\"26\" \/><\/p>\n<p>but it looked to me like I&#8217;d missed the colon, so I added one &#8211; see above. Turns out localhost::9418 is not a valid port forwarding destination, but there&#8217;s no error. It just silently failed.<\/p>\n<p>Changing it to localhost:9418 (as I originally had it) of course made it work. <a href=\"http:\/\/en.wikipedia.org\/wiki\/User_error\">PEBKAC<\/a> again \ud83d\ude41 .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bizarrely, the answer is &#8220;fonts&#8221;! Spent ages last night trying to work out why on my new PC forwarding 9418 to localhost port 9418 wasn&#8217;t working: Curiously, X11 forwarding worked, and plink -L 9418:localhost:9418 &#8230; worked too &#8211; but the &hellip; <a href=\"https:\/\/gurunoia.lochan.org\/blog\/2014\/10\/plink-port-forwarding-works-but-puttys-doesnt\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[17],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/103"}],"collection":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":2,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}