ssh-keygen can't recognize its own keys?

Phil Edwards pedwards at disaster.jaj.com
Mon Oct 22 16:14:57 EST 2001


I'm trying to move from SSH1 to OpenSSH 2.9.9p2, under Solaris 8.  Initial
setup and testing seems to work...  including the generation of a new
RSA key.  The key was created with "ssh-keygen -t rsa" and a passphrase;
nothing unusual.

I can SSH between machines, both running 2.9.9p2, and debug messages show
that this file is being correctly read (I think).  It prompts me for the
passphrase, and all is well.

But ssh-keygen can't list the fingerprints of the key it just created:

    % ssh-keygen -l -f ~/.ssh/id_rsa 
    /[...long path elided...]/.ssh/id_rsa is not a valid key file.
    % 

Huh?  I can use "ssh-keygen -y" on this same file, and after entering the
passphrase, the public key is correctly printed.  What's up?


Please cc me on replies; subscribing is going badly for me for other reasons.

Much thanks for any tips,
Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the openssh-unix-dev mailing list