{"id":36,"date":"2005-10-20T21:19:06","date_gmt":"2005-10-20T21:19:06","guid":{"rendered":"http:\/\/blog.bananasplit.info\/?p=36"},"modified":"2005-10-20T21:21:56","modified_gmt":"2005-10-20T21:21:56","slug":"ssh-tunnelling","status":"publish","type":"post","link":"https:\/\/blog.stmellion.org\/?p=36","title":{"rendered":"SSH Tunnelling"},"content":{"rendered":"<p><strong>Establishing an SSH Tunnel<\/strong><br \/>\nssh -f -L localport:remotehost:remoteport -4 user@remotehost tail -f \/dev\/null<br \/>\n-f   Instructs SSH to run in the background<br \/>\n-L localport:remotehost:remoteport   Create the SSH Tunnel<br \/>\n-4 Make the Tunnel ipv4 only<br \/>\ntail -f \/dev\/null   This is a low-overhead command required to keep the connection open<\/p>\n<p>lsof -i tcp:1234<br \/>\nThis is a useful command to look at connections on TCP port 1234<\/p>\n","protected":false},"excerpt":{"rendered":"<p>More for work than a personal requirement, this is my simpletons guide to tunnelling over SSH<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-general","entry"],"_links":{"self":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":0,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}