No option add ssh key to src.fedoraproject.org

I want to submit a pull request to update a package. I’ve changed the .spec file, built and tested the package, and done a git commit.

I’m struggling to add my ssh key to src.fedoraproject.org so I can push my commit to my fork. when I go to https://src.fedoraproject.org/settings#nav-ssh-tab , I don’t see any option to add the ssh key.

What do I need to add my ssh key?
Alternatively, is there a way I can authenticate to push over https?

Add the ssh key to your fedora account.

2 Likes

I also think you will have to agree to the FPCA, and probably be in the packager group to contribute ?!

I recommend following this Pull Request Guide. Making sure you're not a bot! if you are not already a packager. Since PR’s via SSH will not work for you.

2 Likes

Thanks. This helped me.

For the sake of anyone who is reading this in the future: As a non packager, you don’t auth using ssh, instead:

When you create the repo using fedpkg clone, it sets up a git credential helper for your local repo:

% git config credential.helper
/usr/bin/fedpkg gitcred

This then opens a browser window when you do a git push where you can then authenticate.

Thanks Leigh.

While I see this is needed for some fedpkg commands, doing this doesn’t enable you to git push to src.fedoraproject.org.