{"id":1182,"date":"2010-09-14T23:03:18","date_gmt":"2010-09-14T16:03:18","guid":{"rendered":"http:\/\/lewcpe.com\/blog\/?p=1182"},"modified":"2010-09-14T23:03:18","modified_gmt":"2010-09-14T16:03:18","slug":"ssh-reverse","status":"publish","type":"post","link":"https:\/\/lewcpe.com\/blog\/archives\/1182\/ssh-reverse\/","title":{"rendered":"SSH Reverse"},"content":{"rendered":"<p>\u0e40\u0e04\u0e22\u0e44\u0e2b\u0e21\u0e17\u0e35\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e04\u0e49\u0e32\u0e07\u0e17\u0e35\u0e48\u0e1a\u0e49\u0e32\u0e19 \u0e41\u0e25\u0e49\u0e27\u0e08\u0e30\u0e2d\u0e2d\u0e01\u0e44\u0e1b\u0e02\u0e49\u0e32\u0e07\u0e19\u0e2d\u0e01\u0e17\u0e33\u0e07\u0e32\u0e19\u0e15\u0e48\u0e2d \u0e41\u0e15\u0e48 SSH \u0e01\u0e25\u0e49\u0e31\u0e1a\u0e40\u0e02\u0e49\u0e32\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e17\u0e33 NAT \u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e17\u0e33 dyndns \u0e41\u0e15\u0e48\u0e2d\u0e22\u0e32\u0e01\u0e44\u0e14\u0e49 remote ssh \u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49<\/p>\n<p>\u0e43\u0e04\u0e23\u0e43\u0e0a\u0e49 SSH \u0e08\u0e30\u0e23\u0e39\u0e49\u0e27\u0e48\u0e32\u0e21\u0e31\u0e19\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33 tunneling \u0e2d\u0e22\u0e39\u0e48 \u0e42\u0e14\u0e22\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 map port \u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e43\u0e2b\u0e49\u0e27\u0e34\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19 ssh server \u0e41\u0e25\u0e49\u0e27\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e44\u0e14\u0e49 \u0e19\u0e31\u0e48\u0e19\u0e04\u0e37\u0e2d SSH -L [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e40\u0e23\u0e32]:[\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]:[\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]<\/p>\n<p>\u0e41\u0e15\u0e48\u0e08\u0e23\u0e34\u0e07\u0e46 SSH \u0e22\u0e31\u0e07\u0e21\u0e35 SSH -R \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e15\u0e48\u0e2d\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e40\u0e2d\u0e07\u0e44\u0e14\u0e49\u0e2d\u0e35\u0e01\u0e14\u0e49\u0e27\u0e22 \u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e02\u0e2d\u0e07 ssh -R [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 server]:[\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]:[\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]<\/p>\n<p>\u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e08\u0e30 remote \u0e01\u0e25\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e02\u0e49\u0e32\u0e07\u0e19\u0e2d\u0e01 \u0e01\u0e47\u0e2a\u0e31\u0e48\u0e07<\/p>\n<p>ssh [user \u0e02\u0e2d\u0e07 ssh server]@[ssh server] -R [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 ssh server]:localhost:22<\/p>\n<p>\u0e40\u0e0a\u0e48\u0e19 ssh w&#97;&#x73;&#x6f;n&#64;&#x67;&#x61;r&#110;&#x65;&#x74;.&#107;&#x75;&#x2e;a&#99;&#x2e;&#x74;h -R 5555:localhost:22<\/p>\n<p>\u0e23\u0e31\u0e19\u0e17\u0e34\u0e49\u0e07\u0e44\u0e27\u0e49\u0e40\u0e0a\u0e48\u0e19\u0e19\u0e35\u0e49 \u0e1e\u0e2d\u0e2d\u0e22\u0e39\u0e48\u0e02\u0e49\u0e32\u0e07\u0e19\u0e2d\u0e01 \u0e01\u0e47..<\/p>\n<p>[wason@notebook] $ ssh &#x77;&#x61;&#x73;&#x6f;&#110;&#64;garne&#x74;&#x2e;&#x63;&#x70;&#x65;&#46;ku.ac&#x2e;&#x74;&#x68;<\/p>\n<p>[wason@garnet] $ ssh wason@localhost -p 5555<\/p>\n<p>[wason@home_pc] $<\/p>\n<p>\u0e40\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49\u0e01\u0e47\u0e08\u0e30\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e44\u0e14\u0e49 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e40\u0e1b\u0e34\u0e14 port \u0e43\u0e2b\u0e49\u0e22\u0e38\u0e48\u0e07\u0e22\u0e32\u0e01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e40\u0e04\u0e22\u0e44\u0e2b\u0e21\u0e17\u0e35\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e04\u0e49\u0e32\u0e07\u0e17\u0e35\u0e48\u0e1a\u0e49\u0e32\u0e19 \u0e41\u0e25\u0e49\u0e27\u0e08\u0e30\u0e2d\u0e2d\u0e01\u0e44\u0e1b\u0e02\u0e49\u0e32\u0e07\u0e19\u0e2d\u0e01\u0e17\u0e33\u0e07\u0e32\u0e19\u0e15\u0e48\u0e2d \u0e41\u0e15\u0e48 SSH \u0e01\u0e25\u0e49\u0e31\u0e1a\u0e40\u0e02\u0e49\u0e32\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e17\u0e33 NAT \u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e17\u0e33 dyndns \u0e41\u0e15\u0e48\u0e2d\u0e22\u0e32\u0e01\u0e44\u0e14\u0e49 remote ssh \u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e43\u0e04\u0e23\u0e43\u0e0a\u0e49 SSH \u0e08\u0e30\u0e23\u0e39\u0e49\u0e27\u0e48\u0e32\u0e21\u0e31\u0e19\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33 tunneling \u0e2d\u0e22\u0e39\u0e48 \u0e42\u0e14\u0e22\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 map port \u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e43\u0e2b\u0e49\u0e27\u0e34\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19 ssh server \u0e41\u0e25\u0e49\u0e27\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e44\u0e14\u0e49 \u0e19\u0e31\u0e48\u0e19\u0e04\u0e37\u0e2d SSH -L [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e40\u0e23\u0e32]:[\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]:[\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07] \u0e41\u0e15\u0e48\u0e08\u0e23\u0e34\u0e07\u0e46 SSH \u0e22\u0e31\u0e07\u0e21\u0e35 SSH -R \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e15\u0e48\u0e2d\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e40\u0e2d\u0e07\u0e44\u0e14\u0e49\u0e2d\u0e35\u0e01\u0e14\u0e49\u0e27\u0e22 \u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e02\u0e2d\u0e07 ssh -R [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 server]:[\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07]:[\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07] \u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e08\u0e30 remote \u0e01\u0e25\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e02\u0e49\u0e32\u0e07\u0e19\u0e2d\u0e01 \u0e01\u0e47\u0e2a\u0e31\u0e48\u0e07 ssh [user \u0e02\u0e2d\u0e07 ssh server]@[ssh server] -R [\u0e1e\u0e2d\u0e23\u0e4c\u0e15\u0e17\u0e35\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 ssh server]:localhost:22 \u0e40\u0e0a\u0e48\u0e19 ssh <a class=\"read-more\" href=\"https:\/\/lewcpe.com\/blog\/archives\/1182\/ssh-reverse\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts\/1182"}],"collection":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/comments?post=1182"}],"version-history":[{"count":1,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts\/1182\/revisions"}],"predecessor-version":[{"id":1183,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/posts\/1182\/revisions\/1183"}],"wp:attachment":[{"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/media?parent=1182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/categories?post=1182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lewcpe.com\/blog\/wp-json\/wp\/v2\/tags?post=1182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}