I've just tried to set this up. Looks my my RSA keygen is screwed, but I don't know why. The trace from ssh -vvvv logerrit follows:
anthony@ashdown ~/gitstuff/loffice $ ssh -vvvv logerrit OpenSSH_5.9p1-hpn13v11lpk, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /home/anthony/.ssh/config debug1: /home/anthony/.ssh/config line 4: Applying options for logerrit debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to gerrit.libreoffice.org [78.46.154.99] port 29418. debug1: Connection established. debug3: Incorrect RSA1 identifier debug3: Could not load "/home/anthony/.ssh/id_rsa" as a RSA1 public key debug1: identity file /home/anthony/.ssh/id_rsa type 1 debug1: identity file /home/anthony/.ssh/id_rsa-cert type -1 debug1: Remote protocol version 2.0, remote software version GerritCodeReview_2.5.1 (SSHD-CORE-0.5.1-R1095809) debug1: no match: GerritCodeReview_2.5.1 (SSHD-CORE-0.5.1-R1095809) debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1-hpn13v11lpk debug2: fd 3 setting O_NONBLOCK debug3: put_host_port: [gerrit.libreoffice.org]:29418 debug3: load_hostkeys: loading entries for host "[gerrit.libreoffice.org]:29418" from file "/home/anthony/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /home/anthony/.ssh/known_hosts:6 debug3: load_hostkeys: found key type DSA in file /home/anthony/.ssh/known_hosts:7 debug3: load_hostkeys: loaded 2 keys debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: AUTH STATE IS 0 debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp384-cert-...@openssh.com,ecdsa-sha2-nistp521-cert-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug2: kex_parse_kexinit: 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 debug2: kex_parse_kexinit: 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 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,z...@openssh.com,zlib debug2: kex_parse_kexinit: none,z...@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-md5-96,hmac-sha1-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-md5-96,hmac-sha1-96 debug2: kex_parse_kexinit: none debug2: kex_parse_kexinit: none debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-md5 debug1: REQUESTED ENC.NAME is 'aes128-cbc' debug1: kex: server->client aes128-cbc hmac-md5 none debug2: mac_setup: found hmac-md5 debug1: REQUESTED ENC.NAME is 'aes128-cbc' debug1: kex: client->server aes128-cbc hmac-md5 none debug2: dh_gen_key: priv key bits set: 131/256 debug2: bits set: 1025/2048 debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Server host key: RSA b3:eb:11:2a:7d:f0:65:e4:01:53:d1:59:61:b4:4e:86 debug3: put_host_port: [78.46.154.99]:29418 debug3: put_host_port: [gerrit.libreoffice.org]:29418 debug3: load_hostkeys: loading entries for host "[gerrit.libreoffice.org]:29418" from file "/home/anthony/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /home/anthony/.ssh/known_hosts:6 debug3: load_hostkeys: found key type DSA in file /home/anthony/.ssh/known_hosts:7 debug3: load_hostkeys: loaded 2 keys debug3: load_hostkeys: loading entries for host "[78.46.154.99]:29418" from file "/home/anthony/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /home/anthony/.ssh/known_hosts:8 debug3: load_hostkeys: loaded 1 keys debug1: Host '[gerrit.libreoffice.org]:29418' is known and matches the RSA host key. debug1: Found key in /home/anthony/.ssh/known_hosts:6 debug2: bits set: 987/2048 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/anthony/.ssh/id_rsa (0x223e8f0) debug1: Authentications that can continue: publickey debug3: start over, passed a different list publickey debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/anthony/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey debug2: we did not send a packet, disable method debug1: No more authentication methods to try. Permission denied (publickey). anthony@ashdown ~/gitstuff/loffice $ It's complaining "incorrect RSA1 identifier", but I generated the key pair as per instructions - ssh-keygen -t rsa -C "your_em...@example.com" The header of my private key starts -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,15DE1487A8D84D685BB525958FCEADC3 Obviously I used my email address - only thing is I did not use my gmail address I logged in with, I used the email address I want to use (and I didn't quote it). Could that possibly be anything to do with it - although I don't think that error makes sense for that... Cheers, Wol _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice