repo init 报错:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

When executing repo init on ubuntu 16.04, the error no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 will occur.


Add in ~/.ssh/config:


Host *
    KexAlgorithms +diffie-hellman-group1-sha1


It can be solved and passed the test on ubuntu Kirin 16.04.


Guess you like

Origin blog.csdn.net/lgdlchshg/article/details/53946133