Skip to content

Unable to 'run' new projects due to ssh failure (publickey) #70

Open

Description

@midgethoen

We've been using strider successfully for a while in our organization. However I noticed today that I cant 'run' newly added projects anymore, because of the following error:
Git clone failed with code 500

$ git clone --recursive git@github.com:getyippie/xxx.git . --branch master github 789ms -1
Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists. 

some digging unveiled that previously added projects are using https and this one is using ssh. which led me to this pr #69

Is this supposed to work out of the box or do I need to manually add these keys?

Activity

  1. midgethoen commented on Jun 13, 2016

    @midgethoen
    Author

    FYI we're using the strider-github for adding projects

  2. knownasilya commented on Jun 13, 2016

    @knownasilya
    Member

    It should work out of the box. Did you see the last comment on that PR? If you follow that, mainly step 2, does it help?

  3. midgethoen commented on Jun 13, 2016

    @midgethoen
    Author

    Yes, I did try that..

  4. knownasilya commented on Jun 13, 2016

    @knownasilya
    Member

    Ok, I think a revert is in order..

  5. midgethoen commented on Jun 13, 2016

    @midgethoen
    Author

    let me double check if we have all the latest versions before you revert based on this issue

  6. midgethoen commented on Jun 13, 2016

    @midgethoen
    Author

    we're on strider 1.7.6 and strider-github 2.3.1

  7. knownasilya commented on Jun 13, 2016

    @knownasilya
    Member

    Ok, I'll try to do the revert later today. In the mean time, you can install strider-github 2.3.0 manually in your strider folder.

  8. midgethoen commented on Jun 13, 2016

    @midgethoen
    Author

    FYI I It's working again after I installed 2.3.0
    thanks for the help!

  9. self-assigned this
    on Jun 13, 2016
  10. mandoz commented on Sep 21, 2016

    @mandoz
    Contributor

    Sorry for jumping on this so late. Yeah the issue is, the strider public key needs to be given access to the github repository.

    One behavior we could implement out of the box (similar to what most hosted CI solutions do), so to add the public key as a deployment key to the repository on github.

    The other use case in which we need to be able to install other private repositories while running the tests, one would need to create a machine user like this: https://documentation.codeship.com/faq/access-to-other-repositories-fails-during-build/

    As you can see in this document for example, codeship by default adds a deployment key, and then if the use case requires access to multiple repos during running tests, then they have the documentation for that.

  11. knownasilya commented on Sep 21, 2016

    @knownasilya
    Member

    @mandoz does this need to be documented? If so could you update the README.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions