{"id":52,"date":"2012-07-21T21:14:13","date_gmt":"2012-07-21T21:14:13","guid":{"rendered":"http:\/\/toolbox.pingvinfeszek.hu\/?p=52"},"modified":"2012-10-20T14:00:10","modified_gmt":"2012-10-20T14:00:10","slug":"vnc-with-ssh-tunneling-over-putty","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/vnc-with-ssh-tunneling-over-putty\/","title":{"rendered":"VNC with SSH-tunneling over PuTTY"},"content":{"rendered":"

Having SSH is totally great to administer your servers and such, but if you ever face a situation that absolutely requires a few clicks to be made on the GUI, then at best you are screwed. For the technically savvy this might not mean an obstacle at all – but for anyone else who does not dream in assembly and speak in pointers referring to pointers of a mirrored stack, this quick and dirty trick could sure come in handy – and might even save the day!<\/p>\n

A totally lifelike situation: trying to manage the Wireless configuration page of your router, behind which sits your NAT’d server, as your only point of connection to the whole network…try navigating across that so-called router admin page\u00a0(or just plain clicking to a submenu) with lynx or links. Pure form of punishment right here, ladies and gentlemen.<\/p>\n

Prequisites<\/strong>: you must have an SSH<\/strong> and VNC<\/strong> server (vnc4server<\/strong>) up and running on your server to which you are about to connect to (we’ll be using the default ports throughout the steps)<\/p>\n

 <\/p>\n

    \n
  1. Download PuTTY<\/a> and run it (from Debian\/Ubuntu boxes, it’s in the repo)<\/li>\n
  2. Session -> fill out the external IP<\/strong> and the forwarded SSH port<\/strong><\/li>\n
  3. Translation -> set it to UTF-8<\/strong> (optional)<\/li>\n
  4. SSH -> Auth -> Tunnels -> fill in as follows:<\/li>\n
  5. Source port: 5901<\/strong><\/li>\n
  6. Destination: 192.168.1.3:5901<\/strong> (the local LAN IP of the server)<\/li>\n
  7. Hit the ADD button<\/strong><\/li>\n
  8. Connect and log in<\/li>\n
  9. Start vncviewer<\/strong> and enter “localhost:5901<\/strong>“<\/li>\n
  10. Voil\u00e1!<\/li>\n<\/ol>\n

     <\/p>\n

    This is a shortened, reblogged version of the Smoothwall tutorial – click here<\/a> to view the original source!<\/p>\n","protected":false},"excerpt":{"rendered":"

    Having SSH is totally great to administer your servers and such, but if you ever face a situation that absolutely requires a few clicks to be made on the GUI, then at best you are screwed. For the technically savvy this might not mean an obstacle at all – but for anyone else who does […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,6,11,1,7],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/52"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":6,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/52\/revisions\/54"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}