{"id":277,"date":"2008-09-26T03:16:50","date_gmt":"2008-09-26T08:16:50","guid":{"rendered":"http:\/\/www.ourada.org\/blog\/?p=277"},"modified":"2008-09-26T03:16:50","modified_gmt":"2008-09-26T08:16:50","slug":"vnc-over-ssh-to-osx","status":"publish","type":"post","link":"https:\/\/www.ourada.org\/blog\/archives\/277","title":{"rendered":"VNC over SSH to OSX"},"content":{"rendered":"<p>Not that it&#8217;s any great discovery, but since I didn&#8217;t get a good hit when I was searching for this myself, I figure I&#8217;ll write this up a bit.<\/p>\n<p>I wanted to use VNC over SSH to my headless OSX box (yes, I own an OSX box, no, I&#8217;m not a traitor to the Linux race) from outside my network. But when I tried to connect across the tunnel, I kept getting this &#8220;channel 3: open failed: administratively prohibited: open failed&#8221; on the Mac side. There are lots of hits for that phrase out there, many of them giving what might be good advice in some situations, but what I ended up having to do was to change my ssh arguments.<\/p>\n<p>(Let&#8217;s pretend the external IP of the Mac is foo.example.com, and the internal address is 10.55.55.55.)<br \/>\nI was doing this:<br \/>\n<code>ssh foo.example.com -L 5901:localhost:5900<\/code><br \/>\nbut what I needed to do was this:<br \/>\n<code>ssh foo.example.com -L 5901:10.55.55.55:5900<\/code><\/p>\n<p>(FYI, yes, there is a &#8216;Linux race&#8217;. The papers have been filed with and approved by the World Racial Administration, and your direct or indirect use of the Linux kernel makes you eligible for membership. Benefits include a free copy of the kernel and a sense of superiority over any other groups of people you choose.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Not that it&#8217;s any great discovery, but since I didn&#8217;t get a good hit when I was searching for this myself, I figure I&#8217;ll write this up a bit. I wanted to use VNC over SSH to my headless OSX box (yes, I own an OSX box, no, I&#8217;m not a traitor to the Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-general","author-admin"],"_links":{"self":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":0,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}