After not being able to connect to a server via public key, I turned on debugging and saw this: ebug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey after 134217728 blocks debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/user/.ssh/id_rsa ^^^^^^ WTF? id_rsa.pub is my public key debug1: Authentications that can continue: publickey,keyboard-interactive vvvvvv correct debug1: Trying private key: /home/user/.ssh/id_dsa debug1: Trying private key: /home/user/.ssh/id_ecdsa debug1: Trying private key: /home/user/.ssh/id_ed25519 debug1: Next authentication method: keyboard-interactive Password: Is this only an error in the debug text or is something worse going on? Reproducible: Always
You are misinterpreting the debug message.
Ok. RESOLVED: The debug message is crap.