Documentation
¶
Overview ¶
Package sshkrb5 implements the GSSAPIClient and GSSAPIServer interfaces in the golang.org/x/crypto/ssh package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements the ssh.GSSAPIClient interface.
func NewClientWithCredentials ¶
NewClientWithCredentials returns a new Client using the provided credentials.
func NewClientWithKeytab ¶
NewClientWithKeytab returns a new Client using the provided keytab.
func (*Client) Close ¶
Close deletes any active security context and unloads any underlying libraries as necessary.
func (*Client) DeleteSecContext ¶
DeleteSecContext is called by the ssh.Client to tear down any active security context.
type Option ¶ added in v1.1.0
Option is the signature for all constructor options.
func WithLogger ¶ added in v1.1.0
WithLogger configures a logr.Logger in a Server.
func WithStrictMode ¶ added in v1.1.0
WithStrictMode is the equivalent of GSSAPIStrictAcceptorCheck.
type Server ¶ added in v1.1.0
type Server struct {
// contains filtered or unexported fields
}
Server implements the ssh.GSSAPIServer interface.
func (*Server) AcceptSecContext ¶ added in v1.1.0
AcceptSecContext is called by the ssh.ServerConn to accept and advance the security context.
func (*Server) Close ¶ added in v1.1.0
Close deletes any active security context and unloads any underlying libraries as necessary.
func (*Server) DeleteSecContext ¶ added in v1.1.0
DeleteSecContext is called by the ssh.ServerConn to tear down any active security context.