Creating a reverse ssh tunnel takes just one switch -R to the original command.
Command line
Let's assume you are connecting to the example.com as a user guest using a command ssh
[email protected]. Opening reverse tunnel can look like this:
ssh -R 2222:localhost:22
[email protected]
It will o...