Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthFailed = AuthStatus(ssh.AuthFailed) AuthSuccessful = AuthStatus(ssh.AuthSuccessful) AuthPartiallySuccessful = AuthStatus(ssh.AuthPartiallySuccessful) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthStatus ¶
type AuthStatus ssh.AuthResult
type SSHHandler ¶
type SSHHandler interface { GetSSHAddr() string GetSSHSigner() ssh.Signer KeyboardInteractiveAuth(ctx ssh.Context, challenger gossh.KeyboardInteractiveChallenge) AuthStatus PasswordAuth(ctx ssh.Context, password string) AuthStatus PublicKeyAuth(ctx ssh.Context, key ssh.PublicKey) AuthStatus NextAuthMethodsHandler(ctx ssh.Context) []string SessionHandler(ssh.Session) SFTPHandler(ssh.Session) LocalPortForwardingPermission(ctx ssh.Context, destinationHost string, destinationPort uint32) bool DirectTCPIPChannelHandler(ctx ssh.Context, newChan gossh.NewChannel, destAddr string) }
Click to show internal directories.
Click to hide internal directories.