> > On Mon, Jul 17, 2000 at 07:26:20AM -0700, [EMAIL PROTECTED] wrote:
> > > Just do this as the user:
> >
> > > In SSH1:
> > > $ rm ~/.ssh/identity*
> > > $ ssh-keygen
> >
> > > In SSH2:
> > > $ rm ~/.ssh2/id_dsa_1024_a*
> > > $ ssh-keygen2
> >
> >       :-)
> >
> >       Somehow, I don't think that was quite what he was asking.  I think
> > what he was asking for was how to recover the public key, given the private
> > key.  I was thinking that OpenSSH had an option in ssh-keygen for doing
> > something like this, but I can't find it now.  It has some translation
> > options for key formats, but that's about it.


For an OpenSSH installation...
# man ssh-keygen
...
     -y      This option will read a private OpenSSH DSA format file and print
                  an OpenSSH DSA public key to stdout.

Thanks... Dan.

Reply via email to