Difference between revisions of "Reverse SSH tunneling"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
1) Create tunnel
 
1) Create tunnel
  [[ssh -f]] [[-N]] [[ssh -T|-T]] [[-R]]22222:localhost:22 yourpublichost.example.com
+
  [[ssh -f]] [[-N]] [[ssh -T|-T]] [[-R]]22222:localhost:22 [[yourmachineip]].example.com
  
 
  [[ssh -fNT]] -R2222:localhost:22 [email protected]
 
  [[ssh -fNT]] -R2222:localhost:22 [email protected]

Revision as of 10:17, 20 September 2023

Advertising: