We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
knownhosts.New accept file on local disk only now, which is not flexible for parsing knowhosts inside memory or load from other media.
knownhosts.New
Proposal for new API
func NewFromReader(r io.Reader) (ssh.HostKeyCallback, error)
to load knowhosts from io.Reader
io.Reader
Status