#3957 'Please make sure you have the correct access rights and the repository exists.' message when trying to clone authconfig git repository via fedpkg
Closed: Fixed Opened by jlieskov.

= bug description =

Hello guys,

getting the following error message:

$ fedpkg clone authconfig
Cloning into 'authconfig'...
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Command '['git', 'clone', 'ssh://jlieskov@pkgs.fedoraproject.org/authconfig']' returned non-zero exit status 128

when trying to clone authconfig content via ssh access method. Login to fedorapeople org
works, fedpkg --user jlieskov clone authconfig returns the same error message. Anonymous
clone works.

= bug analysis =

As far as I can tell, have set up all the required steps to be able to access
the repository:
* generated key pairs, and uploaded the public one to the FAS account,
* had run fedora-packager-setup, adjusted ~/.ssh/config content appropriately,
and add the key via ssh-add,
* I got sponsored and also got added into the relevant groups in the authconfig
package admin FAS interface.

Could someone hint what might be causing the above error? (based on the above
message assuming I should have been added to some group yet, I am not a member
of yet as of now).

Thank you && Regards, Jan.

Jan iankko Lieskovsky

= fix recommendation =


You are in the correct group.

In the logs I see a number of connections tuesday before you were in the group, and 1 today with 'Failed key'.

Make sure that 'ssh-add -L' shows the same public key you have uploaded to the fedora account system. If not you should 'ssh-add /path/to/private-key' to add it and then retry.

Can you drop by #fedora-admin on irc.freenode.net for realtime debugging? Or if it's still not working let me know and I can ask for additional debugging here.

Hi Kevin,

thank you for your reply.

Replying to [comment:1 kevin]:

You are in the correct group.

In the logs I see a number of connections tuesday before you were in the group, and 1 today with 'Failed key'.

Yes, I was too impatient on Tuesday.

Make sure that 'ssh-add -L' shows the same public key you have uploaded to the fedora account system. If not you should 'ssh-add /path/to/private-key' to add it and then retry.

Have double-checked. The relevant keys are the same (the only thing they differ is the hostname location at the end of the public one, and file system location of the private one. But "hash / fingerprint" of the keys
are the same).

Can you drop by #fedora-admin on irc.freenode.net for realtime debugging? Or if it's still not working let me know and I can ask for additional debugging here.

Being there already, my nick name is 'iankko'. Pls ping me or let me know your's one.

Thank you, Jan

We got this sorted out on irc. ;)

Metadata