Gitlab配置——无法添加秘钥,TortoiseGitPlink要求输入密码

1. 无法添加秘钥

Unable to negotiate with 1xx.xxx.xxx.105 ort 22:nomatching host key type found.Their offer: ssh-rsa,ssh-dss fatal:Could not read from remoterepository. Please make sure you have the correct access rights and the repository exists.

查看getlab的help怎么搞都不行

请教大佬之后提示git版本过高,于是在csdn下载上找了个2.14.2版本的git就ok了(git官网好像没有放历史版本下载了)

想起来好像在win10笔记本上安装小乌龟时候也提示了小乌龟版本过高,不知道和这个有没有关系

目前使用的是这两个版本

2. TortoiseGitPlink要求输入密码

刚毕业时候用过一段时间小乌龟,感觉很好用,公司没有要求版本,就继续用了这个小乌龟

参考链接:

TortoiseGit✨解决TortoiseGitPlink要求输入密码

https://cloud.tencent.com/developer/article/2445020

输入了几个常用密码都不对,然后

按照博文提示

加载使用gitbash生成的rsa秘钥

在c-用户-user-.ssh下面有秘钥保存

选择RSA保存为ppk文件

如果不选全部文件会看不到这个几个文件

再点击保存秘钥,会自动命名为ppk后缀

添加私钥

打开Pagent

打开之后发现没反应,自动缩小在工具栏了,双击打开

把刚才保存的ppk文件导入即可

相关推荐
鹤鸣的日常4 小时前
前端运行时动态环境变量方案
前端·react.js·docker·前端框架·vue·gitlab
starvapour8 小时前
Ubuntu部署gitlab频繁出现502的问题
linux·ubuntu·gitlab
开发者联盟league13 小时前
使用Jenkins整合Sonarqube/Gitlab/Harbor/Kubernetes的Demo工程
kubernetes·gitlab·jenkins
开发者联盟league15 小时前
使用Jenkins整合Sonarqube/Gitlab/Harbor/Kubernetes实现CICD
kubernetes·gitlab·jenkins
zyl8372115 小时前
前后端项目自动部署方案主流实现方案
ci/cd·gitlab·github
tingting01192 天前
Anolis OS release 8.10安装gitlab
gitlab
shchojj2 天前
gitlab推送触发jekins编译
运维·gitlab
独隅3 天前
Git/GitHub/GitLab/Gitee 核心对比指南
git·gitlab·github
开开心心就好3 天前
清理重复文件释放C盘空间的工具
安全·智能手机·pdf·gitlab·音视频·intellij idea·1024程序员节
李少兄3 天前
IDE 提示 “GitLab versions older than 14.0 are not supported” 的深度排查与解决方案
ide·gitlab