如何告诉TortoiseHg (或一般的Mercurial )在推送/拉取远程存储库时希望使用给定的SSH键?
发布于 2010-12-02 17:08:58
在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"还要注意,如果使用pageant,则不需要指定密钥路径。
发布于 2010-12-02 17:10:10
您需要使用PuTTY,在中设置一个配置文件,用于连接到远程存储库。然后在TortoiseHg中,您可以连接到ssh://profilename/
例如,我为bitbucket设置了一个,并将其命名为bitb,因此连接是ssh://bitb/url-to-repo。
https://stackoverflow.com/questions/4333262
复制相似问题