Automatically Refresh ssh keys for private github repos

mike's Avatar

mike

17 Apr, 2023 07:03 PM

I have about 20 private github projects. They're all failing for what appears to be an expired SSH key. If I delete & recreate, it works fine.

Is there a way to get app veyor to "refresh" the connection to the private github projects, without having to delete + recreate each project?

Output from log is:
git clone -q --branch=master git@github.com:XXXXX/YYYYY.git C:\projects\query2
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Command exited with code 128

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Apr, 2023 07:08 PM

    Feodor Fitsner's Avatar

    Hi Mike,

    You can switch to AppVeyor GitHub App and get rid of using SSH keys completely: https://www.appveyor.com/blog/2018/10/02/github-apps-integration/

  2. 2 Posted by mike on 17 Apr, 2023 07:24 PM

    mike's Avatar

    Yes! That appears to solve it perfectly. Thank you.

    Please consider adding a pointer to this link on the Settings | General page where it shows SSH key - then I would have found it on my own :)

  3. Support Staff 3 Posted by Feodor Fitsner on 18 Apr, 2023 03:17 AM

    Feodor Fitsner's Avatar

    Sure, thanks for the update!

  4. Feodor Fitsner closed this discussion on 18 Jun, 2023 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac