Martin Glazer wrote:
Hi,

I am looking to setup a reverse SSH shell. Basically, I want a system (behind a firewall with no open incoming ports) to connect back to my computer and provide a shell on the remote PC for me to use.

Obviously I will need some sort of listener on my side and some method of telling the remote computer to connect back.

Does anyone know of a method to accomplish this - using openSSH or otherwise?

The quick and easy way to do that would be something like "ssh -L 22:remote:2200 remote" if you've got a SSH daemon on the remote box.. otherwise, a 3rd box could work too, and do something similar. maybe use -R rather then -L to allow other then just localhost to get at the port if it's a 3rd machine.

you'd ssh localhost -p 2200 to get back through the tunnel..

If you want to get a little more crazy, you could start playing with ipsec tunnels too, but you need more at the endpoint box then just a ssh daemon.

--
Paul Greidanus
CAD Administrator / Systems Administrator
Center of Excellence in Integrated Nanotools    University of Alberta
[EMAIL PROTECTED]                       780-492-7368
http://www.cein.ualberta.ca


_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

Reply via email to