Difference between revisions of "Reverse SSH tunneling"
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 | + | [[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
- See also:
ssh -R
1) Create tunnel
ssh -f -N -T -R22222:localhost:22 yourmachineip.example.com
ssh -fNT -R2222:localhost:22 [email protected]
Connect
ssh -p
Contents
Error
Bad remote forwarding specification Solution: -R2222243653 review you do not exceed size of port.
kex_exchange_identification: read: Connection reset by peer
Activities
Related
See also
- SSH:
ssh
, TLS,.ppk, .pem, .crt, .pub
, ED25519, Key exchange method (KEX), public key, private key,ssh -Q kex
,IAMUserSSHKeys
,known_hosts
, ssh tunnel, Dropbear
Advertising: