From: Shawn O. Pearce Date: Thu, 22 Apr 2010 18:42:39 GMT Subject: Re: SSH keys location Message-ID: <20100422184239.GA29426@spearce.org> In-Reply-To: Mahesh Vaidya 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 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.