原因:

根本原因之所以报错是因为OpenSSH7.0以后的版本不再支持ssh-dss(DSA)算法,官方的说法是这个算法太弱了。MACOS升到10.12附带的openssh版本是7.4,如下:➜~sshd-Vsshd:illegaloption--VOpenSSH_7

解决方案:

命令行里添加选项 
ssh -oHostKeyAlgorithms=+ssh-dss aliyunzixun@xxx.com 
添加 HostKeyAlgorithms +ssh-dss到配置 ~/.ssh/config 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2022-02-11
  • 2021-08-05
  • 2021-09-30
  • 2021-07-02
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-07-19
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
相关资源
相似解决方案