golang/go

x/crypto/ssh: add example for KeyboardInteractive

Open

#35,238 opened on Oct 29, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (19,008 forks)batch import
DocumentationNeedsInvestigationhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I'm having trouble figuring out how to use this method to prompt a user for input and get a password back out. I tried searching on Github but most of the top results are vendored copies of the ssh package.

Alternatively, it would be nice to have a default implementation.

Contributor guide