口中有德,目中有人,行中有善,心中有爱。
Git error: no matching host key type found. Their offer: ssh-rsa
Git error: no matching host key type found. Their offer: ssh-rsa

Git error: no matching host key type found. Their offer: ssh-rsa

找到自己安装的Git目录,进入etc/ssh 打开ssh_config,在最后面添加

Host *
    KexAlgorithms +diffie-hellman-group1-sha1
    HostkeyAlgorithms +ssh-dss,ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注