Bug 2879

Summary: ssh-keygen missing documentation for "-Z" flag
Product: Portable OpenSSH Reporter: Scott <scott_fields>
Component: DocumentationAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: dtucker
Priority: P5    
Version: 7.7p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 3217    
Attachments:
Description Flags
Document ssh-keygen -Z and provide better error on incorrect arg.
none
Document ssh-keygen -Z and provide better error on incorrect arg. none

Description Scott 2018-06-30 08:37:06 AEST
ssh-keygen has supported the -Z flag since 1.237 of ssh-keygen.c.

However, and man page has never been updated to include the specifics of the operation of this flag.

Please update the man page for ssh-keygen to include the specifics for the "-Z" option, which allows you to specify the encryption cipher for a private key. Based on the code, this option only applies if you are using the new private key format, either currently used if you specify the -o flag when creating/updating a key, or specify ED25519 for the key type.
Comment 1 Darren Tucker 2020-11-27 14:07:47 AEDT
Created attachment 3458 [details]
Document ssh-keygen -Z and provide better error on incorrect arg.
Comment 2 Darren Tucker 2020-11-27 14:38:07 AEDT
Created attachment 3459 [details]
Document ssh-keygen -Z and provide better error on incorrect arg.

fix a couple of "z" that should have been "Z"
Comment 3 Darren Tucker 2020-11-27 21:18:42 AEDT
The patch has been applied and will be in the 8.5 release.  Thanks for the report.
Comment 4 Damien Miller 2021-04-23 15:00:58 AEST
closing resolved bugs as of 8.6p1 release