git 安装 TortoiseGIT 时无法选择 SSH 客户端
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13653319/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Cannot pick an SSH client when installing TortoiseGIT
提问by Chris Powell
I installed TortoiseGIT using TortoisePink as my SSH client. But I later found out that that was not the correct one to use for my purposes. So, I uninstalled TortoiseGIT and tried to re-install, but when I try to re-install it won't bring up the "Pick your ssh client" screen. I checked their website, but this issue is nowhere to be found.
我使用 TortoisePink 作为我的 SSH 客户端安装了 TortoiseGIT。但我后来发现这不是用于我的目的的正确方法。因此,我卸载了 TortoiseGIT 并尝试重新安装,但是当我尝试重新安装时,它不会显示“选择您的 ssh 客户端”屏幕。我检查了他们的网站,但找不到这个问题。
回答by Marko
TortoiseGIT leaves key HKEY_CURRENT_USER\Software\TortoiseGit
in registry after uninstall.
HKEY_CURRENT_USER\Software\TortoiseGit
卸载后TortoiseGIT 将密钥留在注册表中。
I deleted it and was able to pick SSH client on next install.
我删除了它并且能够在下次安装时选择 SSH 客户端。
回答by Chris Powell
I was able to circumvent this problem by going to the TortoiseGIT settings page. Under "network" I noticed that the "TortoisePink.exe" file was still selected. So, I just changed this to "ssh.exe" without a path and viola! My issue is fixed.
我可以通过转到 TortoiseGIT 设置页面来规避这个问题。在“网络”下,我注意到仍然选择了“TortoisePink.exe”文件。所以,我只是把它改成了“ssh.exe”,没有路径和中提琴!我的问题是固定的。
回答by Uniflare
I will add this here as I didn't want to reinstall TortoiseGit just for this and the other solutions did not help.
我将在此处添加此内容,因为我不想为此重新安装 TortoiseGit,其他解决方案也无济于事。
If you want to switch TortoiseGit to OpenSSH, simply run this at the command prompt:
如果你想将 TortoiseGit 切换到 OpenSSH,只需在命令提示符下运行:
tortoisegitproc /command:firststart