ssh-keygen: inconsistency with need for passphrase

Felipe Gasper fgasper at
Wed Feb 17 15:30:44 EST 2010


	I think something is inconsistent between the code that parses -e and
-y options in ssh-keygen.

This command:

ssh-keygen -ef key_file

...will never prompt for a passphrase; however, this one:

ssh-keygen -yf key_file

...will prompt for it, despite that it returns basically the same
information as -e (in a slightly different format).

	Or am I missing something? I didn’t see anything on the man page to
indicate a rationale for this.


Felipe M. L. Gasper

“Wisdom can never learn enough. Ignorance is sufficient unto itself.”
    -Mechtild of Magdeburg

“Dad always thought laughter was the best medicine,
 which I guess is why several of us died of tuberculosis.”
    -Jack Handey

More information about the openssh-unix-dev mailing list