I am dealing for days with a problem I thought it was related to git but that is related to ssh connection. Here's : my /home/myhome/.ssh/config file
Host mylocalhostHostname localhostUser myuserIdentityFile /home/myuser/.ssh/id_rsaWhen I run ssh mylocalhost I am asked to enter my passphrase. But, immediately after I get this message
debug1: key_parse_private_pem: PEM_read_PrivateKey faileddebug1: read PEM private key done: type Enter passphrase for key '/Users/git/.ssh/id_rsa': debug1: read PEM private key done: type RSAConnection closed by ::1I tried everything I found when googling (checking for permissions, regenerating keys...)
When I run sudo /usr/sbin/sshd -d I get this
debug1: sshd version OpenSSH_6.2, OSSLShim 0.9.8r 8 Dec 2011debug1: read PEM private key done: type RSAdebug1: private host key: #0 type 1 RSAdebug1: read PEM private key done: type DSAdebug1: private host key: #1 type 2 DSAdebug1: rexec_argv='/usr/sbin/sshd'debug1: rexec_argv='-d'debug1: Bind to port 22 on ::.Bind to port 22 on :: failed: Address already in use.debug1: Bind to port 22 on 0.0.0.0.Bind to port 22 on 0.0.0.0 failed: Address already in use.Cannot bind any address.
Does anyone has an idea ?