{"id":18,"date":"2008-04-23T12:28:14","date_gmt":"2008-04-23T12:28:14","guid":{"rendered":"http:\/\/www.gurnaik.com\/blog\/?p=18"},"modified":"2008-04-23T16:40:56","modified_gmt":"2008-04-23T16:40:56","slug":"socks-5-proxy-using-ssh","status":"publish","type":"post","link":"https:\/\/www.gurnaik.com\/blog\/2008\/04\/23\/socks-5-proxy-using-ssh\/","title":{"rendered":"Proxy Using SSH"},"content":{"rendered":"<p><code>ssh -C2qTnN -D 4567 user@somehost.com<\/code><\/p>\n<p>Options used:<\/p>\n<ul>\n<li>C &#8211; requests compression of all data.<\/li>\n<li>2 &#8211; forces <strong>ssh<\/strong> to try protocol version 2 only.<\/li>\n<li>q &#8211; quiet mode; suppresses all warning and diagnostic messages.<\/li>\n<li>T &#8211; disables pseudo-tty allocation.<\/li>\n<li>n &#8211; redirects <em>stdin <\/em>from <code>\/dev\/null<\/code>, i.e., prevent reading from <em>stdin<\/em>. Must be used when <strong>ssh <\/strong>is run in the background.<\/li>\n<li>N &#8211; means do not execute a remote command.<\/li>\n<li>D &#8211; specifies the local application-level port.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>ssh -C2qTnN -D 4567 user@somehost.com Options used: C &#8211; requests compression of all data. 2 &#8211; forces ssh to try protocol version 2 only. q &#8211; quiet mode; suppresses all warning and diagnostic messages. T &#8211; disables pseudo-tty allocation. n &#8211; redirects stdin from \/dev\/null, i.e., prevent reading from stdin. Must be used when ssh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-utilities"],"_links":{"self":[{"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gurnaik.com\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}