type Permissions …
type GSSAPIWithMICConfig …
type ServerConfig …
func (s *ServerConfig) AddHostKey(key Signer) { … }
type cachedPubKey …
const maxCachedPubKeys …
type pubKeyCache …
func (c *pubKeyCache) get(user string, pubKeyData []byte) (cachedPubKey, bool) { … }
func (c *pubKeyCache) add(candidate cachedPubKey) { … }
type ServerConn …
func NewServerConn(c net.Conn, config *ServerConfig) (*ServerConn, <-chan NewChannel, <-chan *Request, error) { … }
func signAndMarshal(k AlgorithmSigner, rand io.Reader, data []byte, algo string) ([]byte, error) { … }
func (s *connection) serverHandshake(config *ServerConfig) (*Permissions, error) { … }
func checkSourceAddress(addr net.Addr, sourceAddrs string) error { … }
func gssExchangeToken(gssapiConfig *GSSAPIWithMICConfig, token []byte, s *connection,
sessionID []byte, userAuthReq userAuthRequestMsg) (authErr error, perms *Permissions, err error) { … }
func isAlgoCompatible(algo, sigFormat string) bool { … }
type ServerAuthError …
func (l ServerAuthError) Error() string { … }
type ServerAuthCallbacks …
type PartialSuccessError …
func (p *PartialSuccessError) Error() string { … }
var ErrNoAuth …
type BannerError …
func (b *BannerError) Unwrap() error { … }
func (b *BannerError) Error() string { … }
func (s *connection) serverAuthenticate(config *ServerConfig) (*Permissions, error) { … }
type sshClientKeyboardInteractive …
func (c *sshClientKeyboardInteractive) Challenge(name, instruction string, questions []string, echos []bool) (answers []string, err error) { … }