Hi im trying to create the ssh tunnel to my ec2 in...
# contributing-to-airbyte
j
Hi im trying to create the ssh tunnel to my ec2 instance with
Copy code
ssh -i $SSH_KEY -L 8000:localhost:8000 -L 8001:localhost:8001 -N -f ec2-user@$INSTANCE_IP
but im getting this error
Copy code
ssh: Could not resolve hostname 8000:localhost:8000: Name or service not known
Can anybody help me ?
u
does just SSH-ing into your instance work with
ssh -i $SSH_KEY ec2-user@$INSTANCE_IP
?
u
yes, im connected to the instance by ssh but can't create the tunnel