如何告诉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,则不需要指定密钥路径。
https://stackoverflow.com/questions/4333262
复制相似问题