Project actual git pull code failed
Failed prompt when pulling code from server
Unable to negotiate with 172.17.12.189 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
This is because the ssh support algorithm of git is not configured, so first create a new file config under C:\User.ssh\ and write the following code:
C:\Users\zhangmj2.ssh
Host *
KexAlgorithms +diffie-hellman-group1-sha1
hint
Add the authentication method to the file just now
Host *
KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-dss,ssh-rsa
PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa