在git clone ssh://….的时候报错:
nable to negotiate with : no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read from remote repository.
解决办法:
我在~/.ssh/config文件里添加以下内容: Host xxxx.yyyy.com KexAlgorithms +diffie-hellman-group1-sha1 Port portNumber User userName-yourDomain-com
转载请注明原文地址: https://ju.6miu.com/read-274.html