<br><div class="gmail_quote">Hi,<br><br><div class="gmail_quote"><div class="im">On Wed, Feb 20, 2013 at 10:10 PM, Norbert Thiebaud <span dir="ltr"><<a href="mailto:nthiebaud@gmail.com" target="_blank">nthiebaud@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On Wed, Feb 20, 2013 at 9:53 AM, Prashant Pandey<br>
<<a href="mailto:prashant3.yishu@gmail.com" target="_blank">prashant3.yishu@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to setup myself with gerrit by following up the instructions in<br>
> the documentation provided on :<br>
> <a href="https://wiki.documentfoundation.org/Development/gerrit/setup" target="_blank">https://wiki.documentfoundation.org/Development/gerrit/setup</a><br>
><br>
> I have successfully setup the ssh key pair, and uploaded the public key in<br>
> preferences. I've also created config as mentioned on the page.<br>
><br>
> But the issue is, when I try to test the connection (in the LibO git<br>
> directory), by doing : 'ssh logerrit', following is the message I get :<br>
><br>
> elixir@ubuntu:~/lo$ ssh logerrit<br>
> Permission denied (publickey).<br>
><br>
> How should I proceed in this case. Any help shall be highly appreciable !<br>
<br>
</div></div>That means that there is a disconnect between what you told ssh in ~/.ssh/config<br>
and what gerrit knows<br>
<br>
For instance, did you tell gerrit (in your Setting on gerrit's web)<br></blockquote></div><div> yes. I cross-checked it thoroughly.<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
what is your username (that must match the username you set in<br>
~/.ssh/config for logerrit)<br></blockquote></div><div> its 'elixir'. (i've matched it at both the places carefully).<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
did you place you ublic ssh key in gerrit (again in Stting)... did you<br>
do it correclty (cut-and-paste cand sometime mess up things)<br></blockquote></div><div> Yes. I used the 'xclip' utility, to make sure things go well.<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
is the IdentityFile in the logerrit section in ~/.ssh/config point to<br>
the private key assocaited with the public key you uploaded in you<br>
gerrit profile ?<br></blockquote></div><div> yes. <br> '~/.ssh/id_rsa' at 2 places in config file. <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
did you forget the Port 29418 in ~/.ssh/config ?<br></blockquote></div><div> No. its clearly mentioned there.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888"><br>
Norbert<br>
</font></span></blockquote></div><br>I am not convinced about what is getting wrong.<br><br>Thanks<span class="HOEnZb"><font color="#888888"><br>Prashant<br>
</font></span></div><br>