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

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

it finds the key correctly, logs me in, and then (as expected) tells me I should be using git to access the server and logs me out

On Mar 13, 2013, at 10:33 PM, Eric Eide <eeide at cs.utah.edu> wrote:

> 	Suresh> I'm trying to fetch an update from a repo on bitbucket.org. I
> 	Suresh> have a particular private key registered to bitbucket from my
> 	Suresh> machine. How do I get git fetch to use the right private key ?
> I haven't used bitbucket, but I presume you means that you have uploaded a
> particular *public* key to bitbucket.
> 	Suresh> Host bb
> 	Suresh>         Hostname bitbucket.org
> 	Suresh>         User git
> 	Suresh>         IdentityFile <filename>
> Of course, <filename> should identify the private key you want to use.
> What does "ssh -v bb" say?
> Eric.
> -- 
> -------------------------------------------------------------------------------
> Eric Eide <eeide at cs.utah.edu>  .         University of Utah School of Computing
> http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX

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/4bb1a68c/attachment.html>