On Tue, 1 Sep 2015 16:55:39 -0700 (PDT) [email protected] wrote: > I've created a deploy key to use for our build server and associated > the public key with the repos. I cannot, however, for the life of me, > figure out how to connect and clone the repo using the private deploy > key. I have been completely unable to find any instructions on this. > Can anyone help? > > For context, the client is a linux box and I am a linux noob so I > will need step by step instructions for anything beyond a simple > one-line command.
Two things: * I'm not really sure what "deploy keys" are. Do you mean your build server's front-end software is able to generate a pair of SSH keys for you, associate the public key with some repos hosted there, then make it possible for you to obtain the private SSH key of that pair and then *use it to push stuff to those repos.* That's important because we need to weed irrelevant information from your question out to get to the gist of it. My gut feeling is that you just basically want to know how to make specific SSH key be used to push stuff to a remote repo, and that's all there is to it. So I'd like to make sure my guess is correct. Is my definition correct? * What OS are you using? I assume it's not Linux-based, and if yes, the question is how did you obtain Git to install there? Again, that's important because on a Linux-based system obtaining Git is as trivial as installing a package, and "the rest" (like the way Git interacts with SSH) is in 99% the same across different operating systems. In case of Windows, things get trickier. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
