Re: SSH keys location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mahesh Vaidya <forvaidya@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]