vikmalhotra
vikmalhotra

Reputation: 10071

Problem in ssh port forwarding on Mac

I've just started playing with ssh on Mac. I want to setup ssh port forwarding. I tried the following command:

ssh -L 10090:192.168.1.105:3892 -l [email protected]

On executing this command, the usage of ssh command is displayed on the terminal. Does this mean I have done something wrong? What am I missing over here?

Upvotes: 0

Views: 983

Answers (1)

JRW
JRW

Reputation: 140

It looks like you're using a -l where you don't need it. Try this:

ssh -L 10090:192.168.1.105:3892 [email protected]

Upvotes: 1

Related Questions