如何使用./ssh/config文件建立反向ssh隧道?
我正在尝试重现此命令
ssh [email protected] -L 4444:restricedserver1.org:4420 -L 4445:restricedserver2:4430
是的。RemoteForward
使用稍微不同的语法调用该选项。
但是在您的示例中,您正在使用LocalForward
,其形式如下ssh_config
:
Host dmx.com
User admin
LocalForward 4444 restricedserver1.org:4420
LocalForward 4445 restricedserver2:4430
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句