Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

On Wed, Feb 20, 2013 at 10:10 PM, Norbert Thiebaud <nthiebaud@gmail.com>wrote:

On Wed, Feb 20, 2013 at 9:53 AM, Prashant Pandey
<prashant3.yishu@gmail.com> wrote:
Hi,

I am trying to setup myself with gerrit by following up the instructions
in
the documentation provided on :
https://wiki.documentfoundation.org/Development/gerrit/setup

I have successfully setup the ssh key pair, and uploaded the public key
in
preferences. I've also created config as mentioned on the page.

But the issue is, when I try to test the connection (in the LibO git
directory), by doing : 'ssh logerrit', following is the message I get :

elixir@ubuntu:~/lo$ ssh logerrit
Permission denied (publickey).

How should I proceed in this case. Any help shall be highly appreciable !

That means that there is a disconnect between what you told ssh in
~/.ssh/config
and what gerrit knows

For instance, did you tell gerrit (in your Setting on gerrit's web)

    yes. I cross-checked it thoroughly.

what is your username (that must match the username you set in
~/.ssh/config for logerrit)

    its 'elixir'. (i've matched it at both the places carefully).

did you place you ublic ssh key in gerrit (again in Stting)... did you
do it correclty (cut-and-paste cand sometime mess up things)

    Yes. I used the 'xclip' utility, to make sure things go well.

is the IdentityFile in the logerrit section in ~/.ssh/config point to
the private key assocaited with the public key you uploaded in you
gerrit profile ?

   yes.
   '~/.ssh/id_rsa' at 2 places in config file.

did you forget the Port 29418 in ~/.ssh/config ?

   No. its clearly mentioned there.


Norbert


I am not convinced about what is getting wrong.

Thanks
Prashant

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.