【问题标题】:Mac ssh: illegal option -- JMac ssh:非法选项--J
【发布时间】:2020-07-08 15:20:52
【问题描述】:

我正在尝试连接 ssh,需要使用 -J。 它在 Ubuntu 上运行良好,但在 mac 上它返回 - illegal option -- J

【问题讨论】:

  • 你好谷歌“manual ssh mac”和“manual ssh ubuntu”——寻找差异

标签: macos ssh terminal proxy


【解决方案1】:

用这个命令连接

ssh -o ProxyCommand="ssh -W %h:%p Jumphost" FooServer

在这篇文章中了解https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-01-01
    • 2010-12-06
    • 2016-05-27
    • 1970-01-01
    • 2010-09-22
    • 2021-09-26
    • 1970-01-01
    • 2013-11-09
    相关资源
    最近更新 更多