-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.
并从ssh-keyscan(1)手册页:
-H Hash all hostnames and addresses in the output. Hashed names may be used
normally by ssh and sshd, but they do not reveal identifying information should
the file's contents be disclosed.
从
ssh-keygen(1)
手册页:并从
ssh-keyscan(1)
手册页:前者在本地朗姆酒,散列您的
~/.ssh/known_hosts
文件,而后者联系远程服务器以请求其密钥。