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

[gits] telling git fetch to use a different ssh key



I'm trying to fetch an update from a repo on bitbucket.org. I have a particular private key registered to bitbucket from my machine. How do I get git fetch to use the right private key ? 

I tried adding the following to my config file (as per SO)

Host bb
        Hostname bitbucket.org
        User git
        IdentityFile <filename>

but it didn't work.                                                                                                            

--
Suresh Venkatasubramanian 	Web: http://www.cs.utah.edu/~suresh/    
School of Computing 		Blog: http://geomblog.blogspot.com/
University of Utah.

A problem well put is half-solved. -- John Dewey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flux.utah.edu/pipermail/gits/attachments/20130313/d3f9384a/attachment.html>