使用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

最新文章

  1. NHibernate之映射文件配置说明
  2. [转载] SSH入门学习基础教程
  3. js 继承 对象方法与原型方法
  4. iframe使用方法
  5. csharp:引入app.manifest,程序在win7下以管理员权限运行配置方法
  6. Eclipse plugin插件开发 NoClassDefFoundError
  7. java内存分配详细论
  8. 第一好用的时间 日期插件(Adding a Timepicker to jQuery UI Datepicker)
  9. 运用Python语言编写获取Linux基本系统信息(三):Python与数据库编程,把获取的信息存入数据库
  10. 一个不错的PHP文件页面缓存类
  11. python函数下篇装饰器和闭包,外加作用域
  12. Use Wait & Notify to Implement Two Threads Run Alternatively
  13. python的numpy库的学习
  14. windows下qt的.exe的dll文件怎么配齐
  15. ORACLE获取SQL绑定变量值的方法总结
  16. javascript中的for in循环和for in循环的使用陷阱
  17. POJ 1200:Crazy Search(哈希)
  18. OpenCV SVM
  19. java 16进制与字符串直接相互转换
  20. $digest already in progress 解决办法

热门文章

  1. IPMI设置与使用(远程控制服务器)
  2. PLSQL启动很慢的问题
  3. mysql新建用户并授权
  4. [Training Video - 7] [Database connection] Part 1
  5. 关于流程图设计,你需要Get的几点必备知识
  6. .NET基础 (18)特性
  7. Intel Cyclone SoC FPGA介绍
  8. ETL 运行维护
  9. polymer-developer guide-registration and lifecycle
  10. R12 更新对应用户的字符集