Windows 下检出代码的时候报错:
解决:
前提: 在排除没有配置公钥的情况下。
- 在Git的安装目录下
Git > etc > ssh
文件夹下找到ssh_config
文件 - 在文件末尾添加一下代码(注意,这里的 xxx.com 就是远程仓库地址或者ip,格式如:baidu.com)
参考链接
windows git ssh 方式提示 no matching host key type found. Their offer: ssh-rsa,ssh-dss
Windows 下检出代码的时候报错:
前提: 在排除没有配置公钥的情况下。
Git > etc > ssh
文件夹下找到 ssh_config
文件windows git ssh 方式提示 no matching host key type found. Their offer: ssh-rsa,ssh-dss