Git ругается no matching key exchange method found

Unable to negotiate with XX.XX.XX.XX port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

Нужно в файле C:\Program Files\Git\etc\ssh\ssh_config

Добавить запись KexAlgorithms +diffie-hellman-group1-sha1