Unable to negotiate with 192.168.0.110 port 29419: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方案
在 ~/.ssh目录先创建文件config
打开config文件,并添加下面两行
Host xx.xx.xx.xx
KexAlgorithms +diffie-hellman-group1-sha1
其中Host 是对应自己的服务器地址ip