Greetings! According to documentation, "-x" and "-X" options of ssh-keygen designed to work only with DSA keys. It means that key_type_name variable have to be initialized to "dsa" if any of these options were specified. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv at fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. -------------- next part -------------- Index: ssh-keygen.c ==================================================================RCS file: /cvs/openssh_cvs/ssh-keygen.c,v retrieving revision 1.35 diff -u -r1.35 ssh-keygen.c --- ssh-keygen.c 2001/01/22 05:34:43 1.35 +++ ssh-keygen.c 2001/01/29 03:24:18 @@ -691,10 +691,12 @@ case 'x': convert_to_ssh2 = 1; + key_type_name = "dsa"; break; case 'X': convert_from_ssh2 = 1; + key_type_name = "dsa"; break; case 'y': -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010129/61f094de/attachment.bin
On Mon, Jan 29, 2001 at 06:44:10AM +0300, Dmitry V. Levin wrote:> Greetings! > > According to documentation, "-x" and "-X" options of ssh-keygen designed > to work only with DSA keys. It means that key_type_name variable have to > be initialized to "dsa" if any of these options were specified.no, they should work for ssh-2 rsa keys, too.
Reasonably Related Threads
- [patch] ssh-keygen(1): generate Ed25519 keys when invoked without arguments
- Patch for ssh-keygen to allow conversion of public key to openssh format
- ogg123 crash
- [patch/cygwin]: Remove setting extra permissions on system directories
- SSH_MSG_USERAUTH_PASSWD_CHANGEREQ and 3.1.0 F-SECURE SSH - Pr oces s Software SSH for OpenVMS