Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

passwordless failed suddenly: PEM_read_PrivateKey failed

Subject: passwordless failed suddenly: PEM_read_PrivateKey failed
Date: Thu, 27 Apr 2006 13:18:27 -0400
Hello

I am using

OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005

to connect from a Powerbook running Mac OS X (10.4.6) to a FreeBSD 5.4
machine and a Linux (Debian, I think) machine.
I have been using ssh-agent for some time now to enable passwordless
logins, but today it suddenly stopped working.

Nothing has changed on my end (at least as far as I am aware).

Today I keep getting asked for my passphrase.

Here are what I think are relevant snippets from 'ssh -vvv' (first to
the Linux machine)

debug1: Host 'webhost' is known and matches the RSA host key.
debug1: Found key in /Users/luomat/.ssh/known_hosts:30
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/luomat/.ssh/identity
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/Users/luomat/.ssh/identity':

and to the FreeBSD machine:

debug1: Host 'compaq' is known and matches the DSA host key.
debug1: Found key in /Users/luomat/.ssh/known_hosts:13
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/luomat/.ssh/identity
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /Users/luomat/.ssh/id_rsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /Users/luomat/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/Users/luomat/.ssh/id_dsa':

Any help appreciated!

I'm not used to debugging ssh, if I left out some useful detail,
please let me know.

I have restarted ssh-agent to no avail.

TjL

<Prev in Thread] Current Thread [Next in Thread>
  • passwordless failed suddenly: PEM_read_PrivateKey failed, TjL <=