hg: added --ssh to specify which SSH binary to use

Perez-Gonzalez, Inaky inaky.perez-gonzalez at intel.com
Thu Aug 18 16:32:00 CDT 2005


>From: Thomas Arendsen Hein
>
>* Perez-Gonzalez, Inaky <inaky.perez-gonzalez at intel.com> [20050818
23:15]:
>> >From: mercurial-bounces at selenic.com On Behalf Of Thomas Arendsen
Hein
>
>Look at that page you mentioned more closely:
>
>2. Or you can just use the file as a ssh key file without making it
>   executable. Download it, set its permissions to 600, and put it in
>   ~/.ssh/sshanoncvs. Then add the following to your ~/.ssh/config:
>
>   Host cvs.kitenet.net
>   User cvs
>   IdentityFile ~/.ssh/sshanoncvs
>   ForwardAgent no
>   ForwardX11 no
>   Compression yes
>
>This is what I meant.
>
>You can even do:
>
>   Host specialaliasonlyforhg
>   HostName real.hostname.of.hg.repo.example.com
>   IdentityFile ~/.ssh/sshanoncvs
>   ...

Agreed, but multiply by twenty repos that you need to push to twenty 
different locations, at one different key (and maybe host) each and it 
becomes a pain to handle manually. Having it redirected to a SSH
connector
file (the one that embeds the key on itself) eases management a lot.

-- Inaky



More information about the Mercurial mailing list