Need to tunnel a AWS server using port forwarding

1

I am having a AWS server and I am connecting through a AWS router. I gave the example here,

ssh -i ~/ecserver.pem ec2-user@ip -p 2222

Now I have to create a tunnel to the server for 9093 port in my PC. Please help me for that,

ssh -f -N -L 9093:localhost:9093 -i ~/ecserver.pem ec2-user@ip -p 2222

samaswin

Posted 2016-04-12T09:04:26.250

Reputation: 113

Check this question and update what do you really want to achieve.

– Jakuje – 2016-04-12T16:24:50.100

No answers