I have installed Ubuntu 11.04 on a virtual box on WindowsXP. I am trying to setup ssh port forwarding but the command just hangs and nothing happens. After a while I get connection time out.

ssh -L8000:localhost:8000 server.com -N

What could be the reason?

link|improve this question
There are many possible reasons. Try running ssh in verbose mode, and paste the output. "ssh -v -L8000:localhost:8000 server.com -N" – Flimzy Jun 17 '11 at 8:22
does it work for a while before failing ? i.e: is it the timeout period of ssh ? – Sirex Jun 17 '11 at 10:28
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.