When linking the account for a repository for the first time, you'll need
to give whatever username you associated with that SSH key on Gitolite.
Whether that's the admin account or another. I'd suggest creating a
read-only user account for this.

You should be able to use the public key Review Board shows you in the SSH
settings or repository creation page, and assign that on Gitolite.

Christian

-- 
Christian Hammond - [email protected]
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Thu, Dec 5, 2013 at 6:41 AM, Jillala Srinivas
<[email protected]>wrote:

> Thanx for your reply. I enabled logs and I got the following error
> messages:
>
> ===================================================================================
> 2013-12-05 14:32:50,043 - DEBUG -  - using kex diffie-hellman-group1-sha1;
> server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac:
> local hmac-sha1, remote hmac-sha1; compression: local none, remote none
> 2013-12-05 14:32:50,058 - DEBUG -  - Switch to new keys ...
> 2013-12-05 14:32:50,074 - DEBUG -  - Trying SSH key
> e5ab730789d6c2de4f45e38602024cf9
> 2013-12-05 14:32:50,098 - DEBUG -  - userauth is OK
> 2013-12-05 14:32:50,109 - INFO -  - Authentication (publickey) failed.
> 2013-12-05 14:32:50,139 - DEBUG -  - Trying discovered key
> e5ab730789d6c2de4f45e38602024cf9 in /var/www/LCCReview/data/.ssh/id_rsa
> 2013-12-05 14:32:50,139 - DEBUG -  - userauth is OK
> 2013-12-05 14:32:50,148 - INFO -  - Authentication (publickey) failed.
> 2013-12-05 14:32:50,150 - DEBUG -  - userauth is OK
> 2013-12-05 14:32:50,150 - INFO -  - Authentication (password) failed.
> 2013-12-05 14:32:50,250 - DEBUG -  - EOF in transport thread
>
> =======================================================================================
>
> First I tried by using the key by generated from reviewboard admin (UI)
> and given access for repos in gitolite conf. This time I got same error
> meesage.
> Second I tried with the key from $REVIEWBOARD_PATH/data/.ssh/id_rsa. This
> time also it failed with the same error message.
>
> Note: I am using gitolite for hosting repos, and I had given  admin
> username (one I created while installing reviewboard) in gitolite conf
> file. Is this correct?
>
> regds,
> Srinivas J
>
> On Wednesday, December 4, 2013 12:56:54 PM UTC+2, Christian Hammond wrote:
>
>> This generally means that the SSH key wasn't accepted.
>>
>> Can you check the reviewboard.log file (enable logging if it's turned off
>> and try again) and see if there's any more information along with this
>> error?
>>
>> Christian
>>
>> --
>> Christian Hammond - [email protected]
>>
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>>
>> On Wed, Dec 4, 2013 at 2:30 AM, Jillala Srinivas <[email protected]>wrote:
>>
>>>
>>> I got the following error :
>>>
>>>    - Unable to authenticate against this repository using one of the
>>>    supported authentication types.
>>>
>>>  This error I got when I tried to setup by using the RAW file URL mask.
>>>
>>> On Tuesday, December 3, 2013 12:29:26 PM UTC+2, Jillala Srinivas wrote:
>>>>
>>>> Hi,
>>>>
>>>> I setup ReviewBoard to work with git. I'm using gitolite to host the
>>>> git repos. ReviewBoard is working when I have local clone and I have script
>>>> for synching repos.
>>>> However, I'm trying to setup by giving the Raw url mask of the gitweb,
>>>> it's giving the above said error.
>>>>
>>>> Working setup :
>>>> Hosting Service:    Custom
>>>> Repository type:    Git
>>>> Path:                    /path/to/local_cloned_repo/.git
>>>> Mirror Path:          [email protected]:repo.git
>>>>
>>>>
>>>> Not working Setup:
>>>> Hosting Service:      Custom
>>>> Repository type:      Git
>>>> Path:                      [email protected]:repo.git   (i.e., output of
>>>>  "git remote show origin")
>>>> Mirror Path              [email protected]:repo.git   (i.e., output of
>>>>  "git remote show origin")
>>>> Raw file URL mask:  http://eaxmple.com/gitweb/?p=repo.git
>>>>
>>>> Note: I have uploaded SSH public key of RB into git server and I have
>>>> given access rights for repos.
>>>>
>>>> Can anyone give some pointers on where I am doing wrong? How to setup
>>>> this to work with Raw file URL mask.
>>>>
>>>> Thanks and regds,
>>>> Srinivas Reddy
>>>>
>>>  --
>>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>>> ---
>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>> ---
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to