How to make Mercurial on Windows use an SSH key for push/pull? -


how tell tortoisehg (or mercurial in general) want use given ssh key when pushing/pulling to/from remote repository?

on windows, see accessing ssh-controlled repositories windows client: need putty, plink , particular config setting.

to put in particular repository, put in .hg/hgrc

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

also note don't need specify key path if use pageant.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -