Mahesh Vaidya [off-list ref] wrote:
I have a situation where I must save my private keys location other
than ~/.ssh ; How do I tell git URL that please take public key from
so and so location equivalent of ssh -i <identity-file> flag
example my clone command is
git clone gitosis@server:repos.git
Just use ~/.ssh/config to rewrite the options:
Host server
IdentityFile /some/private/key/path
--
Shawn.