all-repos: Cloning fails due to authentication error

I get errors on all my repos, even the public ones when running

all-repos-clone --config-filename all-repos.json --jobs 1

My config is

{
    "output_dir": "output",
    "source": "all_repos.source.github",
    "source_settings":  {
        "api_key": "hexadecimal-stuff-from-github-settings-page",
        "username": "CodingSpiderFox"
    },
    "include": "",
    "exclude": "^(gecko-dev)$",
    "push": "all_repos.push.github_pull_request",
    "push_settings": {
        "api_key": "hexadecimal-stuff-from-github-settings-page",
        "username": "CodingSpiderFox"
    }
}

Example error output is:

Initializing CodingSpiderFox/maintenance-tools
Initialized empty Git repository in /home/user/gitrepos/output/CodingSpiderFox/maintenance-tools/.git/
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.
Error fetching output/CodingSpiderFox/acx100-acx-mac80211
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.
Error fetching output/CodingSpiderFox/ardour-sessionparser
Warning: Permanently added the RSA host key for IP address '140.82.118.3' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Thanks for the advice 😃