It sounds like the publickey method didn't work correctly.

Are the files in data/.ssh/ owned by the web server's user, and contain the
right permissions?

There was another issue we saw recently involving paramiko (the library we
use to handle SSH connections), so we're trying to collect all the data we
can.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Aug 9, 2010 at 2:55 PM, John DeRosa <jo...@ipstreet.com> wrote:

> On Aug 7, 2010, at 1:02 AM, Christian Hammond wrote:
>
> > Hi John,
> >
> > I suspect the problem is due to the repository being SSH-based. Review
> Board 1.0.x doesn't in general support SSH-backed repositories, as it has no
> way to present host key confirmation or key checking/storage.
> >
> > We've been added this support to Review Board 1.5. I'd suggest installing
> 1.5 RC 1 and attempting to re-add that repository. If you upgrade the
> existing site, make sure to follow the instructions at the end of the site
> upgrade that tell you to create the $sitedir/data directory, set the proper
> ownership, and add the right Apache configuration for setting $HOME to that
> directory.
> >
> [snip]
>
> I installed 1.5 RC 1 onto a new server (so no upgrade needed), and made
> more progress. Thank you! But ultimately things didn't work. What am I doing
> wrong? :
>
> 1) On the Review Board server, in data/.ssh/, I deposited my private key,
> and a config file that specified it when accessing codebasehq.com.
> Codebasehq.com has my corresponding public key.
>
> 2) In the Review Board admin, under "repositories", I entered "ssh://
> h...@codebasehq.com/ipstreet/dev/v10.hg" as the path, as well as my Codebase
> username and password.
>
> 3) I click on Save and I get: "Unable to authenticate against this
> repository with the provided username and password."
>
> I enabled logging, and the reviewboard log has:
>
> -------
> 2010-08-09 11:59:35,562 - INFO - Logging to
> /var/www/reviewboard/logs/reviewboard.log with a minimum level of DEBUG
> 2010-08-09 11:59:55,437 - DEBUG - HgTool: Attempting ssh connection with
> host: codebasehq.com, username: johnderosa
> 2010-08-09 11:59:55,561 - DEBUG - starting thread (client mode):
> 0x96443dd0L
> 2010-08-09 11:59:55,664 - INFO - Connected (version 2.0, client
> OpenSSH_5.2)
> 2010-08-09 11:59:55,761 - DEBUG - kex
> algos:['diffie-hellman-group-exchange-sha256',
> 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1',
> 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client
> encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256',
> 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se']
> server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256',
> 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se']
> client mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com',
> 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96',
> 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com',
> 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96',
> 'hmac-md5-96'] client compress:['none', 'z...@openssh.com'] server
> compress:['none', 'z...@openssh.com'] client lang:[''] server lang:['']
> kex follows?False
> 2010-08-09 11:59:55,761 - DEBUG - Ciphers agreed: local=aes128-ctr,
> remote=aes128-ctr
> 2010-08-09 11:59:55,761 - 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
> 2010-08-09 11:59:55,961 - DEBUG - Switch to new keys ...
> 2010-08-09 11:59:56,200 - DEBUG - userauth is OK
> 2010-08-09 11:59:56,298 - DEBUG - Authentication type (password) not
> permitted.
> 2010-08-09 11:59:56,298 - DEBUG - Allowed methods: ['publickey',
> 'keyboard-interactive']
> 2010-08-09 11:59:56,405 - DEBUG - userauth is OK
> 2010-08-09 11:59:56,504 - INFO - Authentication (keyboard-interactive)
> failed.
> 2010-08-09 11:59:56,604 - DEBUG - EOF in transport thread
> -----------
>
>
> What else should I try or look at to debug this?
>
> Thanks!
>
> John
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to