在ubuntu 16.04 执行 repo init 时会发生no matching key exchange method found. Their offer: diffie-hellman-group1-sha1的错误。
在~/.ssh/config中添加:
Host *
KexAlgorithms +diffie-hellman-group1-sha1
即可解决,在ubuntu 麒麟 16.04测试通过。
在ubuntu 16.04 执行 repo init 时会发生no matching key exchange method found. Their offer: diffie-hellman-group1-sha1的错误。
在~/.ssh/config中添加:
Host *
KexAlgorithms +diffie-hellman-group1-sha1
即可解决,在ubuntu 麒麟 16.04测试通过。