Bug 997 - Correction to man page for ssh-keygen
Summary: Correction to man page for ssh-keygen
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 4.0p1
Hardware: All All
: P5 trivial
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords: openbsd, patch
Depends on:
Blocks: 994
  Show dependency treegraph
 
Reported: 2005-03-11 16:14 AEDT by Andrew R. Jones
Modified: 2006-10-07 11:39 AEST (History)
0 users

See Also:


Attachments
make man page reflect reality (685 bytes, patch)
2005-03-13 21:38 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew R. Jones 2005-03-11 16:14:16 AEDT
ssh-keygen claims that the new -H option writes the results to standard output:
"Hash a known_hosts file, printing the result to standard output." It doesn't,
though:
<9 arjones@server /tmp>ssh-keygen -H
/home/arjones/.ssh/known_hosts updated.
Original contents retained as /home/arjones/.ssh/known_hosts.old
WARNING: /home/arjones/.ssh/known_hosts.old contains unhashed entries
Delete this file to ensure privacy of hostnames
<10 arjones@server /tmp>
Comment 1 Darren Tucker 2005-03-12 13:08:58 AEDT
You are correct, the man page is wrong.  (I believe it's referring to an older
version of -H).
Comment 2 Darren Tucker 2005-03-13 21:38:19 AEDT
Created attachment 851 [details]
make man page reflect reality
Comment 3 Darren Tucker 2005-03-14 21:09:39 AEDT
Patch applied to OpenBSD, it will appear in Portable next sync.  Thanks for the
report.
Comment 4 Darren Tucker 2006-10-07 11:39:10 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.