We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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(reader ...io.Reader) (ssh.HostKeyCallback, error)
to load knowhosts from io.Reader s
io.Reader
Status