OpenSSL doesn't really have a lot to do with ssh-keygen (though
ssh-keygen might link against libcrypto, SSH is not SSL).  You should
probably send to the OpenSSH mailing lists to get help there.

-Kyle H

On 10/12/2014 11:38 PM, Angelos Ching wrote:
> Hi,
>
> Can I always expect the following commands, when given the same
> private key, to generate the same public key albeit in different format?
> # ssh-keygen -y -f id_rsa
> # ssh-keygen -e -f id_rsa
>
> Because I'm dealing with one private key that is generating different
> public key when the above commands were executed.
> The output between the 2 commands are different, but they are
> consistent for any number of runs.
> Moreover, if I copy id_rsa to, say, id_rsa.priv:
> # ssh-keygen -y -f id_rsa.priv
> # ssh-keygen -e -f id_rsa.priv
> would generate the same public key output.
>
> Running OpenSSL 1.0.0-fips 29 Mar 2010
>
> Best regards,
> Angelos
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to