Hi Jacob,
Iam the packager of the given package(fctxpd).
And in
pkgs.fedoraproject.org I don't find an option to add ssh key as we
have in pagure.io .
Regards,
Muneendra.
-----Original Message-----
From: Jakub Jelen [mailto:jjelen@redhat.com]
Sent: Friday, August 30, 2019 1:34 PM
To: Development discussions related to Fedora
<devel(a)lists.fedoraproject.org>
Cc: Muneendra Kumar M <muneendra.kumar(a)broadcom.com>
Subject: Re: getting below error in fedpkg clone
On Fri, 2019-08-30 at 12:50 +0530, Muneendra Kumar M via devel wrote:
Hi ,
Iam getting the below error when I run fedpkg clone fctxpd
fedpkg clone fctxpd
Cloning into 'fctxpd'...
The authenticity of host 'pkgs.fedoraproject.org (209.132.181.4)'
can't be
established.
RSA key fingerprint is
SHA256:Q12OTyTeOHWlS54dTzy2BNu7wB8UKNf18+7WHIDsORc.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
yes
Warning: Permanently added 'pkgs.fedoraproject.org,209.132.181.4'
(RSA) to
the list of known hosts.
muneendra(a)pkgs.fedoraproject.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.
Could not execute clone: Failed to execute command.
I have added the ssh-key at
https://pagure.io/settings#nav-ssh-tab
But still iam getting the below error.
Can anyone help me where iam doing the mistake.
You need to add keys to your Fedora account [1] since you are using
pkgs.fedoraproject.org, unlike the pagure.io, where you added your keys. It
takes some time to propagate the keys.
Other possibility (if you are not a packager of the given package), is to
use anonymous http clone using -a switch:
$ fedpkg clone -a fctxpd
[1]
https://admin.fedoraproject.org/accounts
Regards,
--
Jakub Jelen
Senior Software Engineer
Security Technologies
Red Hat, Inc.