查看日志文件,记录错误为:no supported key exchange algorithms

这是找不到密钥的原因

# cd /etc/ssh
# ssh-keygen -t dsa
# ssh-keygen -t rsa

后边的两个命令在运行时,直接回车,选择默认值。

最后需要修改生成文件的读写权限,这些文件只有用户自己有写权限,否则验证无效。截图如下。

重启ssh服务。

 

putty通过ssh连接RedHat报错 network error:software caused connection abort

相关文章:

  • 2022-01-01
  • 2022-03-01
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案