Problem when working with multiple accounts on github with private repositories.

Options
janezicmatej
janezicmatej
Community Member

I have 3 private keys and 2 GitHub accounts. One of them has some private repositories. When I try to interact with remote repository (i.e.: git fetch, git pull) I get this error:

ERROR: Repository not found.
fatal: Could not read from remote repository.

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

I assume something like this happens:

I fetch
1password tries to do ssh handshake with key for my other account
GitHub says: "Hi Matej, You don't have permission to see this"

as in key is accepted so ssh agent doesn't offer the next one.

If I archive the other two keys, then git commands start working. When I restore them from the archive it stops working again. All keys are in my Private vault.


1Password Version: 1Password for Mac 8.10.3 (81003012)
Extension Version: Not Provided
OS Version: 13.3
Browser:_ Not Provided

Comments

This discussion has been closed.