And the behavior is clearly against what the manpage says:
-H      Hash a known_hosts file.  This replaces all hostnames and addresses 
with hashed representations within the specified file; the original content is 
moved to a file with a .old suffix. These hashes may be used normally by ssh 
and sshd, but they do not reveal identifying information should the file's 
contents be disclosed.  This option will not modify existing hashed hostnames 
and is therefore safe to use on files that mix hashed and non-hashed names.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668093

Title:
  ssh-keygen -H corrupts already hashed entries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1668093/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to