You need to upload the private key (the public one being on github) to the VM.
I guess I would pull from the host into an host folder shared with a VM. Good luck 2014/1/15 Paul C <[email protected]>: > Im provisioning using shell scripts at the moment, as I haven;t yet had time > to look into Chef/Puppet (not that Im convinced they would help my problem) > > As part of my provisioning, I want to pull a private git repository from my > github account. > > Clearly this needs an ssh key which is already authorised on github, so Im > faced with either: > - Adding a new key manually to github each time I want to provision a new vm > - Have the vagrant vm copy the public key from the host machine, and use > that to authenticate with github > > Neither is ideal, although since these vm's will not be shared publicly, the > latter sounds vaguely acceptable. > > Just wondering if this is a common problem, and how other people have > tackled it? > > Thankyou > > -- > You received this message because you are subscribed to the Google Groups > "Vagrant" 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/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Vagrant" 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/groups/opt_out.
