Open mrdavidlaing opened 9 years ago
I'm fairly certain that on this Mac this is caused by not having your GitHub ssh credentials registered with your ssh-agent.
Check by running:
ssh-add -L
If you don't see your GitHub key; add it with something similar to:
ssh-add ~/.ssh/id_rsa
Then try vagrant ssh
ing into the workspace again
From inside the VM you can test whether ssh agent forwarding is enabled using env | grep SSH_AUTH_SOCK
If it is, you will see something like:
[logsearch workspace] ~ ▸ env | grep SSH_AUTH_SOCK
SSH_AUTH_SOCK=/tmp/ssh-pKvVkSD7GK/agent.2498
After launching a Vagrant workspace, attempting to initialise private repositories that use the git@ protocol (ie, as the
bin/setup_private_projects
script does) fails with errors like: