2010-12-02 63 views

回答

7

在Windows上,请参见Accessing SSH-controlled repositories from a Windows client:您需要PuTTY,plink和特定的配置设置。

要提出,在一个特定的仓库,放在.hg/hgrc

[ui] 
ssh="C:\path to\plink.exe" -ssh -i "C:\your path to\private.key" 

还要注意的是,你并不需要,如果你使用的盛会指定的关键路径。

0

您需要使用PuTTY,在连接远程存储库时设置一个配置文件。然后在TortoiseHg中,您可以连接到ssh:// profilename/

我为bitbucket设置了一个,并将其称为bitb,因此连接是 ssh:// bitb/url-to-repo。