No es la respuesta completa, sólo un ejemplo como explorar el problema, no puedo ponerlo en los comentarios:
apagamos uso de ssh-agent:
alex@rhyme git/alt/log4cplus $ unset SSH_AGENT_PID
alex@rhyme git/alt/log4cplus $ unset SSH_AUTH_SOCK
ahora nos conectamos a github.com sin git completamente:
alex@rhyme git/alt/log4cplus $ ssh -v [email protected]
OpenSSH_6.7p1, OpenSSL 1.0.2f 28 Jan 2016
debug1: Reading configuration data /home/alex/.ssh/config
debug1: /home/alex/.ssh/config line 145: Applying options for github.com
debug1: Reading configuration data /etc/openssh/ssh_config
debug1: /etc/openssh/ssh_config line 20: Applying options for *
debug1: Connecting to github.com [192.30.252.129] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_rsa-cert type -1
debug1: identity file /home/alex/.ssh/id_dsa type 2
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7
debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
debug1: no match: libssh-0.7.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes256-ctr hmac-sha2-512 none
debug1: kex: client->server aes256-ctr hmac-sha2-512 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /home/alex/.ssh/known_hosts:14
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: Trying private key: /home/alex/.ssh/id_rsa
debug1: Offering DSA public key: /home/alex/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 817
debug1: key_load_private_type: incorrect passphrase supplied to decrypt private key
Enter passphrase for key '/home/alex/.ssh/id_dsa':
Podemos ver que ssh se ha parado para preguntar la clave en la terminal, sin uso el agente.
Ahora añadimos la configuración especifica de github.com a `.ssh/config':
Host github.com
LogLevel DEBUG1
Repetimos con git:
alex@rhyme git/alt/log4cplus $ git clone [email protected]:wilx/log4cplus /var/tmp/log4cplus
Cloning into '/var/tmp/log4cplus'...
debug1: Connecting to github.com [192.30.252.130] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_rsa-cert type -1
debug1: identity file /home/alex/.ssh/id_dsa type 2
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alex/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7
debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
debug1: no match: libssh-0.7.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes256-ctr hmac-sha2-512 none
debug1: kex: client->server aes256-ctr hmac-sha2-512 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /home/alex/.ssh/known_hosts:14
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: Trying private key: /home/alex/.ssh/id_rsa
debug1: Offering DSA public key: /home/alex/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 817
debug1: key_load_private_type: incorrect passphrase supplied to decrypt private key
Enter passphrase for key '/home/alex/.ssh/id_dsa':
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([192.30.252.130]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = ru_RU.UTF-8
debug1: Sending command: git-upload-pack 'wilx/log4cplus'
remote: Counting objects: 25373, done.
remote: Total 25373 (delta 0), reused 0 (delta 0), pack-reused 25373
Receiving objects: 100% (25373/25373), 23.27 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (18643/18643), done.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 15760, received 24451448 bytes, in 37.2 seconds
Bytes per second: sent 423.6, received 657153.1
debug1: Exit status 0
Checking connectivity... done.
Te aconsejo que verifiques que ssh puedas conectarse sin git, comparando el éxito de mi ejemplo y lo en tu ordenador.
P.S. perdona por favor mi Español, no soy hispanohablante nativo. Y no usé Google Translate tampoco.
Edit: Uso la clave DSA y tu clave es RSA. Algunos proyectos tienen/tenian problemas (en Inglés) con RSA. Quizas el cambio del tipo prodría eliminar el problema. Use ssh-keygen -t dsa
para crear la clave.