Permission Denied Using Mercurial and SSH Keys
Fisheye is configured to connect to a Mercurial repository over SSH, using SSH keys. When trying to connect to the repository Fisheye produces the following error message:
Exception executing command "hg clone -r 0 ssh://fisheye@localhost//hg/repository/usr/local/fecru-2.3.6/var/tmp/hg_test_clone_1286215449717 " Non-zero exit code: 255 abort: no suitable response from remote hg! com.atlassian.fisheye.plugins.scm.utils.process.ProcessException - Non-zero exit code: 255 Error talking to repository: remote: Permission denied, please try again. remote: Permission denied, please try again. remote: Permission denied (publickey,gssapi-with-mic,password). abort: no suitable response from remote hg!
This error will be thrown if the user running Fisheye doesn't have the SSH keys configured properly to access the remote Mercurial repository. For example, you may have configured the SSH keys for the fisheye user, but you may be running the Fisheye application as root.
Please ensure that Fisheye is running as the user that has access to the SSH keys.