#6253 Cannot push to src.fedoraproject.org
Closed: Fixed Opened by sanqui.

When I attempt to push to src.fedoraproject.org, my public key is denied:

$ git push ssh://pkgs.fedoraproject.org/forks/sanqui/rpms/python2.git
Permission denied (publickey).
fatal: Could not read from remote repository.

My public key is set correctly in FAS. I use the same public key in pagure, where it works: https://pagure.io/sanqui-test.

I don't know what's wrong.


I have the same problem here.

I did change my FAS name some time ago and the two FAS accounts were using the same key. Could that be a problem? I did remove the key from the old account last weekend and logged in and out in both accounts. It did not solve the problem.

old FAS: ribeiro
new FAS: athoscr

I haven't changed my FAS name at any point, but I have switched emails in the past, if it helps.

Feel free to ping me ( nick: nirik) on #fedora-admin on irc.freenode.net when one of you are around and we can try and track this issue down.

ok, we sorted out @athoscr's issue (their local username was different from their remote one in fas).

@sanqui is the problem still happening for you?

Note that I was trying to use the URL provided in pagure to clone the repository (without using fedpkg).

I was just not using it correctly. Thank you for your help, Kevin.

Looks like I had the same issue with the username being different. Pushing to ssh://sanqui@pkgs.fedoraproject.org/forks/sanqui/rpms/python2.git worked.

Maybe pagure should provide the full URL including username under Source GIT URLs. Alternatively it could accept any username as long as the appropriate pubkey is presented, but that's probably more complicated than necessary.

This issue is solved for me, thank you.

Good idea. I filed https://pagure.io/pagure/issue/2524 for that.

Thanks.

:guardsman:

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata