开发者

Problem in ssh port forwarding on Mac

开发者 https://www.devze.com 2023-02-19 01:44 出处:网络
I\'ve just started playing with ssh on Mac. I want to setup ssh port forwarding. I tried the following command:

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 svnac@192.168.1.83

On executing this command, the usage of ssh command is displayed on the terminal. D开发者_运维技巧oes this mean I have done something wrong? What am I missing over here?


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

ssh -L 10090:192.168.1.105:3892 svnac@192.168.1.83
0

精彩评论

暂无评论...
验证码 换一张
取 消