赞
踩
Unable to negotiate with 主机地址 port 端口号: no matching host key type found. Their offer: ssh-rsa,ssh-dss
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
-------------------------------------------------------------
问题描述:git中配置了ssh key,但是依然不能clone下代码。(肯定配置的无问题)
解决办法:
1、找到git安装目录(根据自己安装时选项,找到此目录),找到 ssh_config 配置文件
2、以文本形式打开ssh_config此文件,定位到最下面
3、配置完成后,保存配置文件后再次去clone代码,就没问题了
参考:no matching host key type found. Their offer: ssh-rsa,ssh-dss... - 简书
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。