What ssh command would I use to set up "backwards listening"
- by Nathan
Machine A is behind a firewall. I have physical access to it, but I want to log into it remotely, and I do not have access to the firewall settings.
Machine B is remote, and not behind any firewall. (It's my linode)
Machine C is the mobile device I'm going to attempt to ssh into A from.
Is there an ssh command that I can run from machine A that connects to machine B and stays open, that will allow me to log into A from C, via B?
From the manual I'd guess it would be to run the follwing on A
ssh -R *:9999:localhost:22 me@B
and then run this on C
ssh me@B -p 9999
but the previous command reports "Connection refused."