I would like to make a few edits and submit a PR on pagure, but I am running into trouble:
I successfully fork the repo on pagure.io using ssh (I did add my keys to my profile), but when I try to clone it to my local machine with git, I encounter the following: ``` firstname.lastname@example.org: Permission denied (publickey).
fatal: Could not read from remote repository.
If I instead use https, I am able to clone the repo locally, stage changes and make commits, but am unable to push: fatal: unable to access 'https://pagure.io/forks/fuller/kernel-tests.git/': The requested URL returned error: 403
Anyone know what I’m doing wrong? Do I need to join or be accepted to another Fedora subgroup in order to work on Pagure?
Please make sure you have the correct access rights
and the repository exists.
Do you have multiple SSH keys by any chance? If you do, you need to update your ~/.ssh/config to note what key should be used for what host. For example, I have this in my config:
HOST *.fedoraproject.org fedorapeople.org *.pagure.io *.fedorainfracloud.org
# path to SSH key file for use on Fedora services
# My FAS username
Otherwise, it may try your computer’s username and anothe SSH key by default, and if they don’t match, it won’t authenticate.
You may want to check your ssh public key at OpenID transaction in progress
It would have populated that one from the one in the account system at start, but it only updates on logout/login or you manually adding more keys there.