Remote Access, reverse ssh
Here's the deal: I want to access a shell from the other side of the firewall. I can't ssh into the machine, because the firewall kills all incomming connections. So X is behind the firewall and O is me.
My idea was to make X initiate an SSH session to O, and then somehow O can use the tunnel.
I have root on both machines. My thoughts were to encrypt a script and have X download it with a cron job, decrypt and execute.
I just don't know how to reverse the connection. Any ideas?
Thanks a ton!
Alex.
|