Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can I open a reverse shell with Podersa or puTTY? I would prefer Poderosa but I can't find the option to create a tunnel from my local machine port 9000 to my remote machine port 9000?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You need to configure port forwarding in PuTTY. See Connection > SSH > Tunnels. Some examples of usage: http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html

share|improve this answer
    
Can I use cygwin to open a reverse shell from windows? I tried to connect to xdebug to no avail? –  Phpdna May 6 '12 at 19:11
    
Probably yes if you have OpenSSH client installed on cygwin. So you can use -R and -L (I didn't test since I don't have a Windows machine but probably it'll work since it is the "same" OpenSSH from Linux distros, but built for Windows). –  Álvaro Justen May 6 '12 at 19:19
    
And to a virtual machine? I tried that too, to no avail? –  Phpdna May 6 '12 at 19:29
    
If you can port forward to/from virtual machines? Yes. –  Álvaro Justen May 6 '12 at 19:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.