简体   繁体   English

TortoiseGit不断询问SSH密码

[英]TortoiseGit keeps asking for SSH passphrase

I have seen a few questions about this issue but I have not got things to work. 我已经看到了有关此问题的一些问题 ,但是我没有任何工作要做。

I have TortoiseGit installed on a new PC. 我在新PC上安装了TortoiseGit

It is setup to use TortoisePlink.exe and I have the correct public/private keys setup on my computer and with BitBucket . 它已设置为使用TortoisePlink.exe并且我在计算机上和使用BitBucket都具有正确的公共/专用密钥设置。

I can push content w/o problems to the remote server but I keep getting a popup window from Pageant asking for my passphrase . 我可以将没有问题的内容送到远程服务器,但是我不断从Pageant看到一个弹出窗口,要求输入密码

密码要求

Please note that it is the first time I do a push after switching on the computer. 请注意,这是我在打开计算机后第一次进行推送 Once it has been entered, I don't have to do it again in that Windows session . 输入后,我不必在Windows会话中再次进行操作。

When my computer starts, Pageant does NOT start. 计算机启动时,佳丽启动。 If I manually start Pageant there is NO keys listed. 如果我手动启动佳丽没有列出按键。

I thought I could suppress that? 我以为我可以压制那个?

Yor SSH key is encrypted, and thus, it needs to be decrypted for usage. 您的SSH密钥已加密,因此需要解密才能使用。 This can either be done for 这可以为

  • every connection by putty, plink or tortoise(git)plink, 通过腻子,plink或陆龟(git)plink进行的每个连接,
  • every Pageant session (pageant caches the unencrypted key in memory, so that you don't need to re-enter it again and again), 每个Pageant会话(pageant会话将未加密的密钥缓存在内存中,因此您无需一次又一次地重新输入它),
  • ever, by using PuttyGen and storing the ssh key unencrypted (then, however, if it gets stolen, an attacker can directly use it). 以往,通过使用PuttyGen并存储未加密的ssh密钥(然后,如果密钥被盗,攻击者可以直接使用它)。

(Based on my answer on the TortoiseGit issue tracker https://gitlab.com/tortoisegit/tortoisegit/issues/3004#note_33383409 ) (基于我对TortoiseGit问题跟踪器的回答https://gitlab.com/tortoisegit/tortoisegit/issues/3004#note_33383409

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM