Bitvise 客户端版本:8.52

使用用户名/密码远程 SSH 登录报错:

Bitvise 使用用户名/密码远程 SSH 登录报错 The SSH session has terminated with error_服务器

The SSH session has terminated with error. Reason: Error class: LocalSshDisconn, code: KeyExchangeFailed, message: FlowSshTransport: no mutually supported key exchange algorithm. Local list: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1. Remote list: diffie-hellman-group-exchange-sha256.

大意是为服务器端的交换算法本地不支持,服务器支持的列表是为 diffie-hellman-group-exchange-sha256。解决办法:

1、打开 Bitvise Key exchange:

SSH 选项卡 -> 点击 Key exchange 打开 Key exchange Algorithms 对话框:

Bitvise 使用用户名/密码远程 SSH 登录报错 The SSH session has terminated with error_服务器端_02

2、启用 diffie-hellman-group-exchange-sha256:

Key exchange Algorithms 对话框将服务器端支持的算法打开即可:

Bitvise 使用用户名/密码远程 SSH 登录报错 The SSH session has terminated with error_服务器_03

参考资料