[users at bb.net] Using SSH keys with GitPoller and Git step?
tardyp at gmail.com
Thu Mar 2 08:09:42 UTC 2017
What I usually do is to put the credentials into the ~/.gitconfig of the
You can use the insteadOf directive of the gitconfig so that you buildbot
Then you gitconfig has something like:
Note that the best practice is to use ssh keys, instead of password. We are
currently working at a nice method to get the master send ssh keys and
other creds securely to the worker just for the time of a step.
On Thu, Mar 2, 2017 at 2:18 AM Chris Spencer <chrisspen at gmail.com> wrote:
> How do you specify the ssh key to use with the Gitpoller and Git step
> I'm currently hard-coding my username/password in the repourl, and I'd
> like to move away from that for security reasons. However, even after
> reading the docs and looking at the source, I can see no obvious way to
> specify the pem key file to checkout and fetch via ssh.
> users mailing list
> users at buildbot.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users