Thanks to both of you! Dima, unfortunately, I still have the issue. I checked the permissions, they seem okay: `-rw-r--r--` for the public key and `-rw-------` for the private one. My other working pairs of keys have exactly the same privileges.
Attached to this message is the log (3 levels) of `ssh -vvv -i ~/.ssh/ssh_key- sage-trac-2 g...@trac.sagemath.org info`, maybe this can help. Let me know if I can do anything. Antoine On Thu, 2022-04-07 at 17:27 +0100, Dima Pasechnik wrote: > I'll reboot trac now, see if it helps. > Also, check that your keys have correct permissions. > > On Thu, Apr 7, 2022 at 5:08 PM Maxime Bombar <maxime.bom...@inria.fr> wrote: > > > > On 4/7/22 17:59, Antoine Leudière wrote: > > > Hi Maxime, > > > > > > Thanks a lot for answering! I did, yes --- but I may very well be missing > > > something! > > > > > > However, I tried to add / remove trailing spaces or blank lines at the > > > end; > > > or > > > to modify the comment, but nothing seemed to work... I also tried with a > > > standard RSA key. And, a colleague of mine created a Trac account > > > especially > > > to > > > try this out, and had the same error. > > > > > > A. > > > > > > P.-S. : I apologize to the mod-team as I realize that I may have submitted > > > my > > > issue twice. > > > > > very weird indeed ... > > > > Maybe there is a delay I can't remember when I registered my ssh key. > > > > But indeed I tried to register a new one and I can reproduce your error. > > > > I don't think there is an issue with your key though, comments should > > not interfere whatsoever. > > > > -- > > Maxime > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to sage-devel+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/sage-devel/a70b2780-02b3-7ceb-11b3-310713b1095b%40inria.fr > > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e67876be8f84bdd9d481d8e8c97b475fc5bd14a2.camel%40gmail.com.
OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021 debug1: Reading configuration data MYHOME_REDACTED/.ssh/config debug1: MYHOME_REDACTED/.ssh/config line 3: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: /etc/ssh/ssh_config line 21: Applying options for * debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'MYHOME_REDACTED/.ssh/known_hosts' debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'MYHOME_REDACTED/.ssh/known_hosts2' debug2: resolving "trac.sagemath.org" port 22 debug2: ssh_connect_direct debug1: Connecting to trac.sagemath.org [104.197.143.230] port 22. debug1: Connection established. debug1: identity file MYHOME_REDACTED/.ssh/ssh_key-sage-trac-2 type 3 debug1: identity file MYHOME_REDACTED/.ssh/ssh_key-sage-trac-2-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Ubuntu-6ubuntu2.1 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.13 debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.13 pat OpenSSH_6.6.1* compat 0x04000002 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to trac.sagemath.org:22 as 'git' debug3: hostkeys_foreach: reading file "MYHOME_REDACTED/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file MYHOME_REDACTED/.ssh/known_hosts:34 debug3: load_hostkeys: loaded 1 keys from trac.sagemath.org debug3: order_hostkeyalgs: have matching best-preference key type ecdsa-sha2-nistp256-cert-...@openssh.com, using HostkeyAlgorithms verbatim debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c debug2: host key algorithms: ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp384-cert-...@openssh.com,ecdsa-sha2-nistp521-cert-...@openssh.com,sk-ecdsa-sha2-nistp256-cert-...@openssh.com,ssh-ed25519-cert-...@openssh.com,sk-ssh-ed25519-cert-...@openssh.com,rsa-sha2-512-cert-...@openssh.com,rsa-sha2-256-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp...@openssh.com,ssh-ed25519,sk-ssh-ed25...@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: ciphers ctos: chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com debug2: ciphers stoc: chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com debug2: MACs ctos: umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,z...@openssh.com,zlib debug2: compression stoc: none,z...@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha...@libssh.org,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: host key algorithms: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se debug2: MACs ctos: hmac-md5-...@openssh.com,hmac-sha1-...@openssh.com,umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-sha1,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: MACs stoc: hmac-md5-...@openssh.com,hmac-sha1-...@openssh.com,umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-sha1,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: compression ctos: none,z...@openssh.com debug2: compression stoc: none,z...@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha...@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1...@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1...@openssh.com MAC: <implicit> compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:4Op/q3b5792x+F1lHSKRi5UIORAPDlIFVA5cUq9YVXI debug3: hostkeys_foreach: reading file "MYHOME_REDACTED/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file MYHOME_REDACTED/.ssh/known_hosts:34 debug3: load_hostkeys: loaded 1 keys from trac.sagemath.org debug3: hostkeys_foreach: reading file "MYHOME_REDACTED/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file MYHOME_REDACTED/.ssh/known_hosts:33 debug3: load_hostkeys: loaded 1 keys from IP_REDACTED debug1: Host 'trac.sagemath.org' is known and matches the ECDSA host key. debug1: Found key in MYHOME_REDACTED/.ssh/known_hosts:34 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey in after 134217728 blocks debug1: Will attempt key: MYHOME_REDACTED/.ssh/ssh_key-sage-trac-2 ED25519 SHA256:MYHASH_REDACTED explicit agent debug2: pubkey_prepare: done debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey debug3: start over, passed a different list publickey debug3: preferred gssapi-with-mic,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 public key: MYHOME_REDACTED/.ssh/ssh_key-sage-trac-2 ED25519 SHA256:MYHASH_REDACTED explicit agent debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey debug2: we did not send a packet, disable method debug1: No more authentication methods to try. g...@trac.sagemath.org: Permission denied (publickey).