A clone of know_hosts write in Go
Which supports multiple platforms, tested on Windows, Linux and macOS.
go install github.com/jsfaint/known_hosts@latest$ known_hosts
usage: known_hosts command [host]
commands:
ls - List all known hosts
rm - Remove a host (supports --dry-run)
search - Search host in known hosts
tui - Interactive terminal UI
help - Show this messageDry-run example:
known_hosts rm github.com --dry-runSpecial thanks to markmcconachie about the original utility.