Documentation
¶
Index ¶
- func AcceptClients(connection net.Listener, config *ssh.ClientConfig, ...)
- func CreateLocalEndPoint(localAddrString string) (localListener net.Listener)
- func KeyboardInteractiveChallenge(user, instruction string, questions []string, echos []bool) (answers []string, err error)
- func PasswordCallback() (string, error)
- func SetPassword4Callback(password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptClients ¶
func AcceptClients(connection net.Listener, config *ssh.ClientConfig, serverAddrString, remoteAddrString string)
func CreateLocalEndPoint ¶
func KeyboardInteractiveChallenge ¶
func KeyboardInteractiveChallenge(user, instruction string, questions []string, echos []bool) (answers []string, err error)
Another auth. method.
func PasswordCallback ¶
Just a callback function for the password request.
func SetPassword4Callback ¶
func SetPassword4Callback(password string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.