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.

the three boxes are

  1. My laptop ( windows )
  2. A jumpbox ( linux )
  3. The server ( linux )

My web application is running in nodejs port 3000 on the server. I should access the web app in my laptop by using the below URL

_http://localhost:3000

What I did till now is :

From my laptop , I used putty to login to jumpbox via ssh , then I issued the below commands

ssh -L 3000:server:22 user@jumpbox

ssh -p 3000 localhost

ssh -R 3000:server:3000 user@jumpbox

Which is giving me connection timeout. What might be the problem here ? Am i doing this correct ?

basically this is what I would like to do

localhost ---> jumpbox ---> server
localhost <---- jumpbox <--- server

edit: I also cannot edit the sshd_config , GatewayPorts = yes as I do not have root permission.

share|improve this question
    
both jumpbox and server are linux ssh -p , i am trying to port forward localhost. –  Tito Cheriachan Aug 13 '13 at 1:26

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.