如何为我的密钥存储密码,以便在Windows上使用git时可以提交并从存储库中提取密码? [英] How do I store a password for my key so I can commit and pull from repository when using git on windows?
问题描述
感谢您的任何指示。
您必须重新创建您的默认ssh密钥并使用空密码。然后再将公共部分上传到git服务器。
如果您在客户端和服务器上使用特定的产品,那么要更具体一些就很难了。 b
$ b
另一种方法是使用ssh-agent,但我不知道这是否也适用于Windows或类似的东西。
Can someone point me in the direction I need look so I can configure my GIT client with the password needed for my private key? Every time I push and pull from my repository it asks me for the password for my key. I use command line and have the windows GIT client installed to use ssh.
Thanks for any pointers.
You have to recreate your default ssh key and use an empty passphrase. Then upload the public part again to the git server.
Without specific products you use on client and server it is a bit difficult to be more specific.
An alternative is to use ssh-agent, but I have no clue if this also works on Windows or if something similar is available.
这篇关于如何为我的密钥存储密码,以便在Windows上使用git时可以提交并从存储库中提取密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!