$ git pull
Unable to negotiate with 126.96.36.199: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
diffie-hellman-group1-sha1 was deprecated since openssh 7.0, and wikimedia gerrit doesn't support diffie-hellman-group14-sha1 which is still supported by current version of openssh.
More information and a possible solution in the server-side: https://code.google.com/p/gerrit/issues/detail?id=3517
A workaround client-side solution is adding below lines into the .ssh/config file, but it is not recommended since it was deprecated and less secure than new one.
- OS X (El Capitan?)
- Arch Linux
- Any Windows systems which have git 2.5.1 or newer.
- Any un*x systems which have openssh 7.0 or newer.