{"id":630,"date":"2018-08-15T10:46:11","date_gmt":"2018-08-15T15:46:11","guid":{"rendered":"http:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=630"},"modified":"2018-08-15T16:43:33","modified_gmt":"2018-08-15T21:43:33","slug":"ssh-tunnel","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=630","title":{"rendered":"SSH tunnel"},"content":{"rendered":"<p>ssh -f username@remote.host -R &lt;The IP of the interface you want to bind the port&gt;:&lt;port_on_remote_host&gt;:localhost:22 -N<\/p>\n<p>Without &#8220;The IP of the interface you want to bind the port&#8221;, it will only bind on loopback interface 127.0.0.1<\/p>\n<p>To enable binding on other than loopback interface, you have to add<\/p>\n<p>GatewayPorts clientspecified<\/p>\n<p>in your \/etc\/ssh\/sshd_config<\/p>\n<p>and reload sshd.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ssh -f username@remote.host -R &lt;The IP of the interface you want to bind the port&gt;:&lt;port_on_remote_host&gt;:localhost:22 -N Without &#8220;The IP of the interface you want to bind the port&#8221;, it will only bind on loopback interface 127.0.0.1 To enable binding on other than loopback interface, you have to add GatewayPorts clientspecified in your \/etc\/ssh\/sshd_config and reload [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-630","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=630"}],"version-history":[{"count":3,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions"}],"predecessor-version":[{"id":635,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions\/635"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}