If you created the SSH key in Review Board in SSH Settings, then that would
be the right key.
How was Review Board installed? Via yum/rpm, easy_install, or pip?
Officially we don't have a "default" SVN package, but if you used yum/rpm,
then I believe it will install PySVN.
Try running this test and seeing what happens from the Review Board server:
SVN_SSH=rbssh PYTHONPATH=/path/to/sitedir/conf svn
info svn+ssh://rbuser@svnserver/repo
/path/to/sitedir/conf would be the "conf" directory inside of the directory
you passed to rb-site install. So something like /var/www/reviewboard/conf
What that should do is attempt an 'svn info' on your repository using our
SSH support and the generated SSH key. Let me know what that shows, and
based on that, I may have you try some additional tests.
Christian
--
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>
On Thu, May 11, 2017 at 4:47 PM, Sophal T <[email protected]> wrote:
> I create the ssh key under the admin page under ssh.
>
> I don't understand how reviewboard uses svn commands. Is that something I
> need to configure? Maybe that is why it is not working. How do I tell
> reviewboard to use PySVN. It is using the default subversion package now.
>
>
> On Thursday, May 11, 2017 at 2:34:22 PM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Can you verify how you created the SSH key? Did you have Review Board
>> generate it?
>>
>> Also, are you using PySVN or Subvertpy?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Thu, May 11, 2017 at 12:33 PM, Sophal T <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I am trying to connect reviewboard to svn with svn+ssh. From what i am
>>> able to find I need to create a public/private key to the svn server for
>>> authentication less login. Can anyone help with instructions? I can't
>>> seem to get it to work. I am using CentOS 6.9 and reviewboard 2.5.10.
>>>
>>> I have create a user on svn called "rbuser". I generated a key on
>>> reviewboard and pasted that into rbuser/.ssh/authorized_keys.
>>> I added the svn repo with svn+ssh://rbuser@svnserver/repo. It said it
>>> was unable to authenticate to the repository. So then I typed in the
>>> username and password and saved again. That worked. However when I go to
>>> create a new review request and choose the svn server, I get an error:
>>>
>>> There was an error loading information from this repository:
>>>
>>> To better debug SSH connection problems, remove the -q option from 'ssh'
>>> in the [tunnels] section of your Subversion configuration file.
>>> Network connection closed unexpectedly
>>>
>>> This may be a temporary failure. Try again
>>> <http://rt-reviewboard/r/new/#>
>>>
>>>
>>> Anyone know where I went wrong?
>>>
>>>
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://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/d/optout.
>>>
>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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/d/optout.
>
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://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/d/optout.