0

https://hyperledger-fabric.readthedocs.io/en/latest/Gerrit/lf-account/ I've been using this for my setup and finished Configuring Gerrit to Use SSH. When I try to clone/check out the Source Code i get this error:

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I'm not able to clone it, any fixes or ideas on what's going wrong?

4

1 回答 1

2

There's something wrong with your SSH key. Check the id_rsa and id_rsa.pub in your $HOME/.ssh directory and the id_rsa.pub configured in the Gerrit server. Execute the following command to help to find out what's going on:

ssh -vvv -p 29418 <user>@<gerrit-server>
于 2016-10-05T11:14:43.210 回答