开发者

TortoiseHg locks up on SSH fetch from BitBucket

TortoiseHg locks up when I do a pull from my repository on BitBucket using SSH. It simply refuses to return, even after and hour.

I'm guessing that the problem has to do with the fact that my private key has an associated passphrase. (Everything 开发者_如何学Cworks fine when I do it from the command line, but I do have to enter my key's password).

So, my question is: How do I get TortoiseHg to know my key password so I can do a pull using it?


You have to use a SSH-agent that will store the deciphered key in memory.

This is really easy under unix, just launch ssh-agent and then ssh-add this will ask you for your password and then store the key.

For windows, you can follow this tutorial for using an ssh-agent with TortoiseSVN on windows : http://matttrent.com/articles/how-use-ssh-agent-windows-tortoisesvn . If you already have a key pair, only the part about Pageant is useful for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜