小编Dav*_*son的帖子

autossh -L 使用与 ssh 相同的命令失败,如何使其工作?

我正在使用最新更新在 fedora core 15 上运行 yum 安装的 autossh 1.4a。

这有效:

ssh -L 9000:valid.fqdn:80 another_valid_fqdn
Run Code Online (Sandbox Code Playgroud)

但是,autossh 失败并打印其使用消息:

ssh -L 9000:valid.fqdn:80 another_valid_fqdn

usage: autossh [-V] [-M monitor_port[:echo_port]] [-f] [SSH_OPTIONS]

    -M specifies monitor port. May be overridden by environment
       variable AUTOSSH_PORT. 0 turns monitoring loop off.
       Alternatively, a port for an echo service on the remote
       machine may be specified. (Normally port 7.)
    -f run in background (autossh handles this, and does not
       pass it to ssh.)
    -V print autossh version and exit. …
Run Code Online (Sandbox Code Playgroud)

linux ssh fedora ssh-tunnel

2
推荐指数
1
解决办法
2410
查看次数

标签 统计

fedora ×1

linux ×1

ssh ×1

ssh-tunnel ×1