problem regarding setting up with gerrit

2013-02-20 Thread Prashant Pandey
Hi,

I am trying to setup myself with gerrit by following up the instructions in
the documentation proveided 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 !

Thanks
Prashant Pandey
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: problem regarding setting up with gerrit

2013-02-20 Thread Norbert Thiebaud
On Wed, Feb 20, 2013 at 9:53 AM, Prashant Pandey
prashant3.yi...@gmail.com wrote:
 Hi,

 I am trying to setup myself with gerrit by following up the instructions in
 the documentation proveided 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)
what is your username (that must match the username you set in
~/.ssh/config for logerrit)
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)
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 ?
did you forget the Port 29418 in ~/.ssh/config ?

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


problem regarding setting up with gerrit

2013-02-20 Thread Prashant Pandey
Hi,

On Wed, Feb 20, 2013 at 10:10 PM, Norbert Thiebaud nthieb...@gmail.comwrote:

 On Wed, Feb 20, 2013 at 9:53 AM, Prashant Pandey
 prashant3.yi...@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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[solved] Re: problem regarding setting up with gerrit

2013-02-20 Thread Prashant Pandey
Hi Nobert,

I just discovered out that I added the public key in my Github account as
mentioned on the link, but I didn't add it in the setting page of my gerrit
account, as correctly pointed out by you.

Adding it, instantly made 'ssh logerrit' work as it should. :-)

Thanks a lot for concern !

Regards
Prashant.

On Wed, Feb 20, 2013 at 11:27 PM, Prashant Pandey prashant3.yi...@gmail.com
 wrote:

 Hi,

 On Wed, Feb 20, 2013 at 10:10 PM, Norbert Thiebaud nthieb...@gmail.comwrote:

 On Wed, Feb 20, 2013 at 9:53 AM, Prashant Pandey
 prashant3.yi...@gmail.com wrote:
  Hi,
 
  I am trying to setup myself with gerrit by following up the
 instructions in
  the documentation proveided 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-cheecked 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

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice