我使用 cygwins ssh 创建了公钥和私钥,并将公钥粘贴到 bitbucket 帐户中。
ssh -T hg@bitbucket.org
说ssh连接工作正常!(所以它应该工作!!!)
然后我发帖
[ui]
ssh = C:\cygwin\bin\ssh.exe
进入 TortoiseHg 中的 mercurial.ini
我发布
[paths]
default = ssh://hg@bitbucket.org/myusername/personal
进入 hgrc 文件。
但是当我想推 TortoiseHg 时对我说:
remote: Permission denied (publickey).
no suitable response from remote hg
在我看来,这里缺少一些东西,但究竟是什么?
编辑:我不想使用 TortoisePlink,因为它是 SUPER SUPER SUPER SLOW!而https只是在上传几兆字节后取消连接。