2010-12-02 33 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。