Unable to negotiate with xxxxxx port 29418~~: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
fix:
-
sudo vim /etc/ssh/ssh_config
-
添加如下到文件底部
Host *
KexAlgorithms +diffie-hellman-group1-sha1 -
重启command再试
网友评论