工具检测连接失败提示算法不匹配
现象描述
安装鲲鹏DevKit,服务器检测提示算法不匹配。
可能原因
- 客户端算法与服务器端不匹配。
- sshd版本过低,不支持ecdsa配置。
处理步骤
- 以普通用户登录服务器后切换至root用户。
- 执行vim /etc/ssh/sshd_config指令检测如下算法是否配置(每项满足其一即可)。
- KexAlgorithms: diffie-hellman-group-exchange-sha256
- MACs: hmac-sha2-512,hmac-sha2-256,hmac-sha1
- Ciphers: aes256-gcm,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
- HostKey: /etc/ssh/ssh_host_ecdsa_key
父主题: FAQ