git配置完成后,仍然校验出错

SSH_Unable to negotiate with ... port ..: nomatching host host key type found. Their offer:ssh-rsa

解决方式:
修改~/.ssh/config文件

Host *
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-rsa
posted @ 2023-10-18 19:23  流水飘香  阅读(16)  评论(0)    收藏  举报