小编NAT*_*I0N的帖子

SSH 在“kex_exchange_identification”失败

我正在尝试通过 ssh 连接到在本地机器上的 VMWare 中运行的 Ubuntu 18.04 VM。本地机器已启动并运行 openssh 服务器。

Apple 的默认 ssh 二进制文件无法连接到 VMWare 中的 VM,如此处所述。所以,我用自制软件安装了 ssh 并尝试使用它。

在运行 ssh 时,它无法连接并吐出错误:

kex_exchange_identification: write: Broken pipe
Run Code Online (Sandbox Code Playgroud)

使用详细标志运行显示以下内容:

$ /usr/local/bin/ssh -vvv dev@[ip]
OpenSSH_8.0p1, OpenSSL 1.1.1d  10 Sep 2019
debug1: Reading configuration data /Users/[username]/.ssh/config
debug1: /Users/[username]/.ssh/config line 1: Applying options for *
debug1: /Users/[username]/.ssh/config line 8: Applying options for *
debug1: /Users/[username]/.ssh/config line 11: Ignored unknown option "usekeychain"
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname [ip] is address
debug2: …
Run Code Online (Sandbox Code Playgroud)

linux osx ssh ubuntu

7
推荐指数
1
解决办法
4496
查看次数

标签 统计

linux ×1

osx ×1

ssh ×1

ubuntu ×1