diffie-hellman-group1-sha1
来源:互联网 发布:租车软件 编辑:程序博客网 时间:2024/04/29 10:03
在使用git fetch
的时候,遇到了如下错误
Unable to negotiate with 192.168.4.28 port 19428: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
解决方法: $export GIT_SSH_COMMAND='ssh -o KexAlgorithms=+diffie-hellman-group1-sha1'
参考网址:https://www.drupal.org/node/2552319 请自备梯子
上面方法貌似没有解决根本问题
2、修改ssh config文件 sudo gedit /etc/ssh/ssh_config
在host下加入 KexAlgorithms=+diffie-hellman-group1-sha1
3、还有一个办法
在用户目录下的.ssh
文件夹新建一个config
文件
输入
Host * KexAlgorithms +diffie-hellman-group1-sha1
好,问题解决了。
0 0
- diffie-hellman-group1-sha1
- diffie-hellman-group1-sha1
- diffie-hellman-group1-sha1
- ssh 'diffie-hellman-group1-sha1' 问题解决方法
- ssh 'diffie-hellman-group1-sha1' 问题解决方法
- ssh server 不支持diffie-hellman-group1-sha1问题
- Cisco路由器登陆失败: Their offer diffie-hellman-group1-sha1
- no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- 解决:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- git:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- 解决:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- repo init 报错:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- git 配置SSH error: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- 更新macOS Sierra后,解决:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- 超级终端连接debian8 下的ssh 出现 “server does not support diffie-hellman-group1-sha1 for keyexchange”
- Diffie-Hellman
- Diffie-Hellman
- MD5/SHA1,DSA,DESede/DES,Diffie-Hellman的使用
- 大数据基础
- 在centos6.5 64bit环境下安装最新版本的git
- 【GDOI模拟】最大异或和
- IOS学习之——Cell的添加、删除以及移动
- BestCoder Round #77 (div.2) C India and China Origins
- diffie-hellman-group1-sha1
- 40个Java集合类面试题和答案
- 《战拖有术》读书笔记(VI)
- 内存映射(Linux设备驱动程序)
- MongoDB总结(三):mongoDB的主从复制、副本集、分布式部署
- Qt5.3.2移植到到开发板上触摸屏不可用的问题,望指教.
- 我对Android的认识
- collection View学习笔记
- 后退N帧协议总结