当前位置:网站首页>Please make sure you have the correct access rights and the repository exists.
Please make sure you have the correct access rights and the repository exists.
2022-07-28 17:42:00 【maosql】
stay win The next secret key and all other configurations are correct , Still can't git clone Remote warehouse . Very annoying , I'm so angry
- Environmental Science :window(linux I haven't encountered this situation yet , It is reasonable to encounter , I do not know! )
- Try it yourself : hold .ssh The internal deletion and regeneration of the file still does not solve this problem , Always consider whether the secret key is not added correctly .
Direct cause :
It's because OpenSSH Think ssh-rsa Encryption is not secure 、 Later versions no longer support ssh-rsa (DSA) Algorithm . The official saying is that this algorithm is too weak , from 8.8 At first, this key is not allowed to be used for login by default .
terms of settlement
stay win route :C:\Users\user.ssh find config File selection text open , Just add the following two sentences , It's so simple .

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
- Reading ( Three lines are not enough without one line )
Host * // Effective for all hosts
HostkeyAlgorithms +ssh-rsa // Allowable scope of use
PubkeyAcceptedKeyTypes +ssh-rsa // Specify that all hosts use ssh-rsa Algorithm key
边栏推荐
- Blue Bridge Cup embedded competition resources and skills
- Sed of shell programming
- Master the key points of JVM interview
- 【C语言笔记分享】自定义类型:结构体,枚举,联合(建议收藏)
- MySQL implements sorting according to custom (specified order)
- 循环中使用switch在执行条件后使用break和continue的区别
- Wild pointer recurrence
- Master JVM interview topics and answers offer get soft (with learning roadmap)
- R language sub() usage
- 软件测试工程师如何突破职业发展瓶颈
猜你喜欢

谈谈“发布后问题”的度量

The browser has no Internet, and wechat can connect to the Internet (solution)

你能读懂这个故事吗?

Can you read the story?

QT编写串口助手

Database performance analysis and optimization (internal training materials of Aite future team)

软件测试前景如何?该如何进行学习呢?

Mmcv installation method

MySQL面试题大全(陆续更新)

Public medical database
随机推荐
新人如何入门学习软件测试
【无标题】
Distinguish between the export of ES6 and the module.exports of nodejs
循环中使用switch在执行条件后使用break和continue的区别
Adding new objects to the object array in JS results in the modification of existing objects in the array
Factor in R
Redis source code analysis, hold it hard, and code it quickly
dos命令大全 基础命令+网络的常用命令
网上出现的js小数计算的除法优化
【C语言笔记分享】字符函数和字符串函数(建议收藏)
Master JVM interview topics and answers offer get soft (with learning roadmap)
@RequestMapping详解
Mmcv installation method
Management of third-party technical services in product development
软件测试培训需要多久?
Convert multidimensional object array to one-dimensional array
在airtest中使用ocr反向识别文本内容
easyui tree
Visual Object Class介绍PASCAL VOC数据集
2021 年全国大学生数据统计与分析竞赛