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文件导入即可

相关推荐
有同事要进步6 小时前
如何在github或者是gitlab上创建空文件
gitlab·github
GoodStudyAndDayDayUp2 天前
gitlab私有化跑CICD
gitlab·gitlab私有化跑cicd
成为你的宁宁2 天前
【Gitlab测试项目】
gitlab·devops
_可乐无糖4 天前
GitLab CI 脚本之 CI_COMMIT_AUTHOR
ci/cd·gitlab
_可乐无糖5 天前
GitLab CI 脚本之 dependencies 和 needs
ci/cd·gitlab
Fan_5586 天前
4核8G云服务器部署GitLab内存耗尽解决方案
gitlab
洋就在江州6 天前
gitlab-cicd 离线集成——springboot-cicd (非docker形式,shell形式)
java·spring boot·后端·ci/cd·gitlab·gitlab-runner
成为你的宁宁7 天前
【Ubuntu 18.04安装Gitlab】
ubuntu·gitlab
长春的KAKA7 天前
GitLab 项目页面报 500 错误的完整修复记录:PostgreSQL 数据库损坏、统计表缺失及数据库迁移
数据库·postgresql·gitlab
蓝胖的四次元口袋7 天前
GitLab知识梳理
gitlab