Unable to negotiate with 18.104.22.168: no matching key exchange method foundUNITRAi
Unable to negotiate with 22.214.171.124: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read from remote repository.
The problem came into existince while configuring my newly created drupal module using GIT on my local windows machine. everthing goes well till we run the following command:
git push origin 7.x.1.x OR git push origin 8.x.1.x
we can overcome from the problem by running the following command:
export GIT_SSH_COMMAND=’ssh -o KexAlgorithms=+diffie-hellman-group1-sha1′
But that is not a permanent solutions you have to run the above command on system/git restart, to fix the problem permanently,
locate your .ssh folder and create a file name “config” put the following code in that:
Hope it will solve the problem.
Related Screen Shots: