CRT连接问题

The client has disconnected from the server. Reason: Unable to authenticate using any of the config
(客户端已与服务器断开连接。原因:无法使用任何配置的身份验证方法进行身份验证。)

编辑配置信息

vi /etc/ssh/sshd_config

#需要在服务器端打开
PasswordAuthentication no 修改改为 yes
允许密码连接。
如果报:
Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
(密钥交换失败。没有兼容的密钥交换方法。服务器支持以下方式:curve25519-sha256、curve25519-sha256@libssh.org、ecdh-sha2-nistp256、ecdh-sha2-nistp384、ecdh-sha2-nistp521、diffie-hellman-group-exchange-sha256、diffie-hellman-group16-sha512、diffie-hellman-group18-sha512、diffie-hellman-group14-sha256)
是CRT的版本太低了,需要升级到8.0或者更高的版本,将支持的密钥交换方式下图红圈中的全勾上,就可以了。
红圈中的全勾上

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值