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

myriad clone instructions : validate ssh-add #236

Open
gmanchon opened this issue Oct 12, 2022 · 0 comments
Open

myriad clone instructions : validate ssh-add #236

gmanchon opened this issue Oct 12, 2022 · 0 comments
Labels

Comments

@gmanchon
Copy link
Contributor

gmanchon commented Oct 12, 2022

We had a setup issue where the myriad instructions to clone a challenge were failing because the student failed to correctly add their ssh key. The git push command was not returning any error but taking infinite time.

The solution used was to add ssh-agent to the list of oh-my-zsh plugins.

But an easier solution would be to verify at the end of the setup that the student has a correct configuration :

  • bad conf :
➜  repo git:(master) ssh-add -l
The agent has no identities.
  • good conf :
➜  repo git:(master) ssh-add -l
256 SHA256:xxxxxxxxxxxxxxxxxxxxxxxxx [email protected] (ED25519)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants