[rdo-list] Review login

Tristan Cacqueray tdecacqu at redhat.com
Wed Jun 1 00:36:45 UTC 2016


On 06/01/2016 12:12 AM, Pete Zaitcev wrote:
> The following command failed with exit code 1
>     "scp -P29418 zaitcev at review.rdoproject.org:hooks/commit-msg .git/hooks/commit-msg"
> -----------------------
> Permission denied (publickey).
> -----------------------
> command failed: git review -r review-origin rpm-master
> [zaitcev at lembas openstack-swift.master]$ 
> 
> How do you deal with it?

That happen when your gerrit doesn't know your user ssh public key.
You can upload your public key on this page:
  https://review.rdoproject.org/r/#/settings/ssh-keys

Once added, you can check manually if it connects like that:
  ssh -p 29418 zaitcev at review.rdoproject.org

If you use a special key, best is to use a .ssh/config like that:
Host review.rdoproject.org
    Port 29418
    User github-username
    IdentityFile ~/.ssh/commit-key

Regards,
-Tristan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/rdo-list/attachments/20160601/3628adb4/attachment.sig>


More information about the rdo-list mailing list