Tortoisegit询问密码 [英] Tortoisegit asking password

查看:157
本文介绍了Tortoisegit询问密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始在Git上工作。我使用Windows 7并安装了msysgit(1.7.8)和Tortoisegit(1.7.6)。
存储库在可通过LAN访问的Linux服务器上创建。我面临的问题是我无法使用Tortoisegit克隆存储库,它要求输入密码,我不确定它要求的密码。
同时我可以使用Git Gui克隆存储库并执行所有操作。
任何人都可以帮助我理解为什么Tortoisegit在Git Gui没有时要求密码。
我尝试卸载Git和Tortoisegit,然后再次安装,但没有成功。



解决方案

我的同事解决了这个问题。步骤:


  1. 右键单击 - > TortoiseGit - >设置 - >网络 C:\程序文件\TortoiseGit\bin\TortoisePlink.exe

  2. 将路径更改为 C:\程序文件(x86)\Git\bin\ssh.exe

可选路径: C:\ Users \ ... \AppData\Local\Programs\Git\usr\bin\ssh.exe

I just started to work on Git. I use windows 7 and has installed msysgit(1.7.8) and Tortoisegit(1.7.6). The repository is created on Linux server which is accessible thru LAN. The issue I'm facing is I'm not able to clone the repository using Tortoisegit, it asks for password and I'm not sure what password it is asking. At the same time I could clone the repository using Git Gui and do all operations. Can anybody please help me on understanding why Tortoisegit is asking password when Git Gui doesn't. I tried uninstalling Git and Tortoisegit and then install again but no success.

解决方案

My colleague solved the problem. Steps:

  1. Right click -> TortoiseGit -> Settings -> Network
  2. SSH client was pointing to C:\Program Files\TortoiseGit\bin\TortoisePlink.exe
  3. Changed path to C:\Program Files (x86)\Git\bin\ssh.exe

Alternative Path: C:\Users\...\AppData\Local\Programs\Git\usr\bin\ssh.exe

这篇关于Tortoisegit询问密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆