1

SSH port forwarding

view story
linux-howto

http://ubuntuforums.org – Let me start by explaining the goal. I am at my university and I would like to reverse ssh to connect to certain services remotely. I have an EC2 instance that is acting as my server. On to the problem. When I ssh to my server like this: ssh -R 9091:localhost:9091 [username]@[serverip] and at the same time configure firefox and do this: ssh -D 8080 [username]@[serverip] I can connect to the service running on localhost:9091. However when I point my web browser to [serverip]:9091 with no proxy I get nothing. If someone could explain what I am doing wrong that would be wonderful. (Hardware)