Yes, that's obviously what he wanted to do. The public key is extracted automatically when you change your key comment, like: "$ ssh-keygen -c". Amanda. On Mon, 17 Jul 2000, Michael H. Warfield wrote: > 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.
