On Friday 11 February 2011 11:22:47 pm Jerry wrote:
> The relevant lines from reviewboard.log on the server:
> -----
> 2011-02-11 14:09:25,121 - DEBUG - Trying discovered key
> 287637e1d8a393fefcc82e2c35f4f567 in /var/www/reviewboard/data/.ssh/
> id_dsa
> 2011-02-11 14:09:25,156 - DEBUG - userauth is OK
> 2011-02-11 14:09:25,192 - INFO - Authentication (publickey)
> successful!
> 2011-02-11 14:09:25,297 - DEBUG - EOF in transport thread
> 2011-02-11 14:09:25,317 - DEBUG - EOF in transport thread
> -----
> This log also hasn't changed over the course of 5 minutes.  So it
> looks like adding the ssh key helped (though only in conjunction with
> the fully-qualified path, so that did matter as you suspected it
> might).
> I just killed the process on the client because I have to leave the
> computer now, but I'm gonna try to come back later tonight and see if
> I can debug it.  Any ideas you have in the meantime will be
> appreciated.  Thanks so much for all your help so far!

Stupid question, but does SSH access ever been tested for Mercurial repos ?
It seems that the support for SSH is relatively recent (Dec 29 2010).

>From what I see, I can clone with standard ssh command using RB private key, 
>but not if I use rbssh.

# sudo -u apache hg clone --config "ui.ssh=rbssh" --debug 
ssh://morisgi@localhost/hello hello.clone
running rbssh morisgi@localhost "hg -R hello serve --stdio"
sending hello command
sending between command
remote: /usr/lib/python2.4/site-packages/paramiko/client.py:94: UserWarning: 
Unknown ssh-rsa host key for localhost: 10b09cfbea8aab56c4df7c9cff5712a7
remote:   warnings.warn('Unknown %s host key for %s: %s' %
remote: Error connecting to server: No authentication methods available
abort: no suitable response from remote hg!

Possibly rbssh/paramiko is to verbose and confuses the mercurial wire protocol.
Or the known host key is not correctly saved when recording the repo 
or more precisely is not accessible to rbssh, though Reviewboard knows it.

Note that this fails, but I don't know if it's supposed to work:
# rbssh morisgi@localhost echo
Error connecting to server: No authentication methods available


Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to