Editing Reverse SSH tunneling
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
* See also: <code>[[ssh -R]]</code> | * See also: <code>[[ssh -R]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | 1) Create tunnel | ||
+ | [[ssh -f]] [[-N]] [[ssh -T|-T]] [[-R]]22222:localhost:22 [[yourmachineip]].example.com | ||
+ | |||
-T Disable pseudo-terminal allocation. | -T Disable pseudo-terminal allocation. | ||
− | + | [[ssh -fNT]] -R2222:localhost:22 [email protected] | |
2) Connect | 2) Connect | ||
Line 22: | Line 16: | ||
Solution: -R2222243653 review you do not exceed size of port. | Solution: -R2222243653 review you do not exceed size of port. | ||
+ | |||
[[kex_exchange_identification: read: Connection reset by peer]] | [[kex_exchange_identification: read: Connection reset by peer]] | ||
Line 34: | Line 29: | ||
* [[Port forwarding]] | * [[Port forwarding]] | ||
* <code>[[ssh tunnel]]</code> | * <code>[[ssh tunnel]]</code> | ||
− | * | + | * [[myip]] |
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{ssh}} | * {{ssh}} | ||
[[Category:SSH]] | [[Category:SSH]] |
Advertising: