First of all thanks in advance for all the help you can provide me. I've been struggling with this for the last 2 days, and after reading almost any related post i could find, i decided to post asking for help
I have an installation of gerrit connected to LDAP, running mysql.
Gerrit by itself works fine. I'm able to authenticate, and grand some users admin rights, create projects via web ui, etc.
After adding my sshkey to my account, via "settings > ssh public keys" i'm having trouble connecting to gerrit via ssh.
OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connection established.
debug1: identity file /home/psantos/.ssh/id_rsa type 1
debug1: identity file /home/psantos/.ssh/id_rsa-cert type -1
debug1: identity file /home/psantos/.ssh/id_dsa type 2
debug1: identity file /home/psantos/.ssh/id_dsa-cert type -1
debug1: identity file /home/psantos/.ssh/id_ecdsa type -1
debug1: identity file /home/psantos/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4
debug1: Remote protocol version 2.0, remote software version GerritCodeReview_2.11.1 (SSHD-CORE-0.14.0)
debug1: no match: GerritCodeReview_2.11.1 (SSHD-CORE-0.14.0)
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA f2:7f:83:08:b1:33:0d:6b:4f:eb:54:53:fb:88:41:98
debug1: Found key in /home/psantos/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/psantos/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering DSA public key: /home/psantos/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/psantos/.ssh/id_ecdsa
debug1: No more authentication methods to try.
Permission denied (publickey).
FYI the gerrit2 account is an LDAP account i created with my email address, so that i can do the read only bind to ldap. Is the problem there, the double email address field complicating things ?