-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for HashKnownHosts SSH config option
Excerpt from `man 5 ssh_config`: > Indicates that ssh(1) should hash host names and addresses when they > are added to ~/.ssh/known_hosts. These hashed names may be used > normally by ssh(1) and sshd(8), but they do not visually reveal > identifying information if the file's contents are disclosed. The > default is no. Note that existing names and addresses in known hosts > files will not be converted automatically, but may be manually hashed > using ssh-keygen(1). See: https://github.com/openssh/openssh-portable/blob/V_9_4_P1/ssh_config.5#L868-L884 See: https://pkg.go.dev/golang.org/x/[email protected]/ssh/knownhosts#HashHostname
- Loading branch information
Showing
2 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters