I've noticed problems I've been having pushing code to a friend's gitlab. If the rsa key specified for use by ssh is encrypted with a password, ssh fails to ask me to provide the password and subsequently fails to authenticate with the private key.I've tried generating rsa keys by default with a password and and with the optionsssh-keygen -t rsa -b 4096 -o -a 100as well, with no change.I've tried hosting sshd on my own system, setting up the key for my own user (copied the .pub to authorized_keys), same results strangely. Permissions for the key doesn't appear to be an issue.I'm running ArchLinux 64 bit with an unmodified linux kernel.Here's the log of a sample ssh -i test -p 9988 -vt 127.0.0.1 on my own system with sshd running with mostly default settings (disabled passwords, only publickey authentication allowed, port is set to 9988). The key is generated with default settings and an encryption password is set on it.OpenSSH_6.8p1, OpenSSL 1.0.2c 12 Jun 2015debug1: Reading configuration data /home/stephen/.ssh/configdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to 127.0.0.1 [127.0.0.1] port 9988.debug1: Connection established.debug1: identity file test type 1debug1: key_load_public: No such file or directorydebug1: identity file test-cert type -1debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_6.8debug1: Remote protocol version 2.0, remote software version OpenSSH_6.8debug1: match: OpenSSH_6.8 pat OpenSSH* compat 0x04000000debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-ctr umac-64-etm@openssh.com nonedebug1: kex: client->server aes128-ctr umac-64-etm@openssh.com nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: Server host key: ecdsa-sha2-nistp256 SHA256:jNykvy5o5p79HUka+BWOqLoMqB0oo90fupUT18ERxMAdebug1: Host '[127.0.0.1]:9988' is known and matches the ECDSA host key.debug1: Found key in /home/stephen/.ssh/known_hosts:2debug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: Roaming not allowed by serverdebug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering RSA public key: testdebug1: Server accepts key: pkalg ssh-rsa blen 279debug1: Offering RSA public key: stephen@ArchDynamodebug1: Authentications that can continue: publickeydebug1: No more authentication methods to try.Permission denied (publickey).EDIT: I recently pushed to my friend's gitlab and realized it did so without prompting me for the password of the key. Does this mean my ssh-keygen is broken somehow?
ssh does not decrypt private rsa key
ssh