auto login failure: PEM_read_PrivateKey

Bill Rees breeze at
Sat Jul 2 09:20:50 EST 2005

Hey All,

    Can anyone tell me what the following message implies?  What does 
PEM_read_PrivateKey do and why would it fail?
    This is the result of trying to setup ssh for autologin.  Though I 
follow the man page, it doesn't work.

        debug1: PEM_read_PrivateKey failed

Bill Rees

More Debug Output

debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: 
debug1: Next authentication method: publickey
debug2: userauth_pubkey_agent: no keys at all
debug2: userauth_pubkey_agent: no more keys
debug2: userauth_pubkey_agent: no message sent
debug1: Trying private key: /home/breeze/.ssh/identity
debug1: Trying private key: /home/breeze/.ssh/id_rsa
debug1: Offering public key: /home/breeze/.ssh/id_dsa
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 432 lastkey 0x80860f0 hint 2
debug2: input_userauth_pk_ok: fp 

        debug1: PEM_read_PrivateKey failed

debug1: read PEM private key done: type <unknown>

More information about the openssh-unix-dev mailing list