小编use*_*336的帖子

升级后的 Ubuntu - ssh 交换失败

将 Ubuntu 从 14.04 升级到 16.04 后,我遇到了一些问题。我尝试通过 SSH 与某些服务器建立 SSH 连接,但在某些情况下升级后,我有以下输出:

Unable to negotiate with 10.13.45.221 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
Run Code Online (Sandbox Code Playgroud)

我知道添加这个: ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@legacyhost

但也许是另一种全局启用它并像 14.04 一样仅使用 ssh user@host 的方法?

server ssh 16.04

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

16.04 ×1

server ×1

ssh ×1