阿里云code ssh host key设置

阿里云code ssh还在用ssh-rsa

Host code.aliyun.com
  HostKeyAlgorithms=+ssh-rsa

编辑~/.ssh/config

 

或者用下面这个

Host *
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa

分类: 默认 标签: 发布于: 2021-10-23 13:05:13, 更新于: 2022-03-01 16:05:41