Yes that's right! For unknown reasons, ~/.ssh/config showed "IdentityFile ~/.ssh/id_rsa.pub" Everything worked after changing id_rsa.pub to id.rsa Thanks for your suggestion
On Wednesday 30 April, 2025 at 11:25:32 pm IST, Peter Pentchev <r...@ringlet.net> wrote: On Wed, Apr 30, 2025 at 03:13:35PM +0000, Anirban Mitra via devel wrote: > when i run command > fedpkg pull > I get the following warning > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > Permissions 0644 for '/home/user/.ssh/id_rsa.pub' are too open. > It is required that your private key files are NOT accessible by others. > This private key will be ignored. > Load key "/home/user/.ssh/id_rsa.pub": bad permissions > u...@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 pull: Failed to execute command. > > I checked that id_rsa has permission 0600 and id_rsa.pub has permission 0644 > What may be wrong? Is there a chance that there is some kind of mistake in your ~/.ssh/config file saying something like "IdentityFile /path/to/id_rsa.pub" so that OpenSSH would think that id_rsa.pub is a private keyfile and not a public one? G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@debian.org pe...@morpheusly.com PGP key: https://www.ringlet.net/roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue