Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/setup_private_projects fails with "WARNING: Unable to read from '[email protected]..." #6

Open
mrdavidlaing opened this issue Jan 12, 2015 · 2 comments
Assignees

Comments

@mrdavidlaing
Copy link
Member

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:

WARNING: Unable to read from '[email protected]:cityindex/logsearch-filters-internal.git'
@mrdavidlaing mrdavidlaing self-assigned this Jan 12, 2015
@mrdavidlaing
Copy link
Member Author

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 sshing into the workspace again

@mrdavidlaing
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant