Reverse SSH tunneling
(Redirected from Ssh -fNT)
Jump to navigation
Jump to search
- See also:
ssh -R - TOMERGE: ssh tunnel
1) Create remote port forwarding
ssh -f -N -T -R2222:localhost:22 $(hostname -i)
ssh -f -N -T -R2222:localhost:22 yourmachineip.example.com or
ssh -fNT -R2222:localhost:22 [email protected]
-T Disable pseudo-terminal allocation.
2) Connect
ssh -p 2222 localhost
Contents
Error[edit]
Bad remote forwarding specification Solution: -R2222243653 review you do not exceed size of port.
kex_exchange_identification: read: Connection reset by peer
Activities[edit]
Related[edit]
ifconfig -assh -f -N -Tssh -p- Port forwarding
ssh tunnelmyipip route add- nping
- ssh -L
- ngrok tcp 22
See also[edit]
ssh -R- 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,ssh -o,~/.ssh/config
Advertising: