Skip to content

myriad clone instructions : validate ssh-add #236

Open
@gmanchon

Description

@gmanchon

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions