SSH reverse tunneling
Posted: Tue Apr 09, 2013 9:32 pm
I've been trying to test reverse ssh tunneling over my local network, but I'm not getting anywhere. In fact, it is just opening up a regular ssh connection.
I'm running the command from one machine (the one I want to connect to from a different machine):
ssh -R 2222:localhost:22 kent@192.168.0.100
and it is like the '-R 2222:localhost:22' is being ignored and it is just opening up a standard connection and session to 192.168.0.100 as if I typed in only:
ssh kent@192.168.0.100
I'm running the command from one machine (the one I want to connect to from a different machine):
ssh -R 2222:localhost:22 kent@192.168.0.100
and it is like the '-R 2222:localhost:22' is being ignored and it is just opening up a standard connection and session to 192.168.0.100 as if I typed in only:
ssh kent@192.168.0.100