{"id":168,"date":"2015-05-26T07:24:28","date_gmt":"2015-05-26T07:24:28","guid":{"rendered":"https:\/\/www.nonamehosts.com\/blog\/?p=168"},"modified":"2015-05-26T07:24:28","modified_gmt":"2015-05-26T07:24:28","slug":"configuring-ssh-tunnel-with-putty","status":"publish","type":"post","link":"https:\/\/www.nonamehosts.com\/blog\/tutorials\/configuring-ssh-tunnel-with-putty\/","title":{"rendered":"Configuring SSH tunnel with PuTTY"},"content":{"rendered":"<p>This guide assumes you are using Windows and have already set up PuTTY to connect.<\/p>\n<p><!--more--><br \/>\n<strong>1. Configure PuTTY<\/strong><\/p>\n<p>When you start PuTTY you should see a window that looks like the next figure:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-172\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/putty_ssh01-300x291.png\" alt=\"putty_ssh01\" width=\"350\" height=\"339\" \/><\/p>\n<p>In the field labeled <em>Host Name (or IP address)<\/em>, enter the hostname or TCP\/IP address of your remote server. For the purposes of this tutorial my hostname will be <em>myremotesshserver.com<\/em>. In the textfield labeled <em>Saved Sessions<\/em>, enter a name that you want to use to identify this configuration. In my case I&#8217;m just going to put my hostname here. At this point your PuTTY window should look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-173\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/putty_ssh02-300x291.png\" alt=\"putty_ssh02\" width=\"350\" height=\"339\" \/><\/p>\n<p>Next, on the left side of the PuTTY window there is a navigation tree. In navigation tree on the left, select the <em>Tunnels<\/em> item. This is shown in the next figure:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-174\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/putty_ssh03-300x291.png\" alt=\"putty_ssh03\" width=\"350\" height=\"339\" \/>Under the section labeled <em>Add a new forwarded port<\/em>\u00a0type in a port like <em>5150<\/em> for the source port. Leave the Destination field blank, then select the <em>Dynamic<\/em> and <em>Auto<\/em> radio buttons. Then click the <em>Add<\/em> button, and you should see the text D5150 show up in the textarea as shown:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-175\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/putty_ssh04-300x291.png\" alt=\"putty_ssh04\" width=\"350\" height=\"339\" \/>Now in the PuTTY navigation tree on the left click on the <em>Session node<\/em>, and then click the <em>Save<\/em> button on the right side of the screen to save this configuration. All you have to do now, is login to your remote server. To do this, just click the <em>Open<\/em> button at the bottom of this window. That&#8217;s it &#8211; your tunnel is open.<\/p>\n<p><strong>2. Configure Firefox<\/strong><\/p>\n<p>Start Firefox, then select the <em>Tools<\/em> menu, and then select the <em>Options&#8230;<\/em> menu item. Now click the <em>Advanced<\/em> icon, and then select the <em>Network<\/em> tab. This is shown in the next figure:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-176\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/ff01-300x295.png\" alt=\"ff01\" width=\"350\" height=\"344\" \/>Now click the <em>Settings&#8230;<\/em> button. This brings up the <em>Connection Settings<\/em> dialog. On this dialog click the <em>Manual proxy configuration<\/em> radio button, then put the address <em>127.0.0.1<\/em> in the <em>SOCKS Host<\/em> field. In the <em>Port<\/em> field enter the port you used when configuring your SSH tunnel with PuTTY. In my case this port was 5150:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-177\" src=\"https:\/\/www.nonamehosts.com\/blog\/wp-content\/uploads\/2015\/05\/ff02-273x300.png\" alt=\"ff02\" width=\"350\" height=\"385\" \/>That&#8217;s all you need to do here. Just click <em>OK<\/em> on this dialog, click <em>OK<\/em> again on the Options dialog, and Firefox is\u00a0ready to go. Happy browsing \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide assumes you are using Windows and have already set up PuTTY to connect.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[15,68,105,125,131],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-browser","tag-linux","tag-putty","tag-ssh","tag-tunnel"],"_links":{"self":[{"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nonamehosts.com\/blog\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}