我遇到这个错误:配置OpenSSH时应该使用什么用户名?
$ git fetch ssh://[email protected]:XXXXX/ xxx && git checkout FETCH_HEAD
Unable to negotiate with 192.168.XXX.XXX: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
这是他们建议在OpenSSH的网站是什么:
For the case of the above error message, OpenSSH can be configured to enable the diffie-hellman-group1-sha1 key exchange algorithm (or any other that is disabled by default) using the KexAlgorithms option - either on the command-line:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected]
它并没有出现在文档的作者,它可能并不清楚[email protected]
应该。你能为我填写这些信息吗?我尝试了我的gerrit登录,但没有奏效。