TortoiseGit-2.0.0.0-64bit问题
2024-08-21 08:03:49
使用TortoiseGit拉取一个项目时,提示:
disconnected no supported authentication methods available(server sent: publickey,keyboard interae)
Disconnected:No supported authentication methods available(server sent:publickey)
或是
Please make sure you have the correct access rights
and the repository exists.
但是发现如果直接用git命令却可以拉取成功。
所以可以确定是TortoiseGit有问题,Git没有问题,生成的ssh密钥也没有问题
找了下git的ssh.exe文件
通过以下方法可以修复TortoiseGit
修改ssh client的路径后,可以正常使用TortoiseGit
附上git配置命令:
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
$ ssh-keygen -t rsa -C “johndoe@example.com”
按3个回车,密码为空。
在github上添加ssh密钥,这要添加的是C:\Users\johndoc\.ssh目录下 “id_rsa.pub”里面的公钥。
测试:ssh git@github.com
最新文章
- NHibernate之映射文件配置说明
- [转载] SSH入门学习基础教程
- js 继承 对象方法与原型方法
- iframe使用方法
- csharp:引入app.manifest,程序在win7下以管理员权限运行配置方法
- Eclipse plugin插件开发 NoClassDefFoundError
- java内存分配详细论
- 第一好用的时间 日期插件(Adding a Timepicker to jQuery UI Datepicker)
- 运用Python语言编写获取Linux基本系统信息(三):Python与数据库编程,把获取的信息存入数据库
- 一个不错的PHP文件页面缓存类
- python函数下篇装饰器和闭包,外加作用域
- Use Wait &; Notify to Implement Two Threads Run Alternatively
- python的numpy库的学习
- windows下qt的.exe的dll文件怎么配齐
- ORACLE获取SQL绑定变量值的方法总结
- javascript中的for in循环和for in循环的使用陷阱
- POJ 1200:Crazy Search(哈希)
- OpenCV SVM
- java 16进制与字符串直接相互转换
- $digest already in progress 解决办法