Documentation ¶
Overview ¶
Package sshd provides functionality for SSH daemon connections.
Package sshd implements functionality related to SSH server configuration and handling ¶
Package sshd provides functionality for handling SSH sessions ¶
Package sshd provides functionality for handling SSH connections
Index ¶
Constants ¶
View Source
const ( // KeepAliveMsg is the message used for keeping SSH connections alive. KeepAliveMsg = "keepalive@openssh.com" // NotOurRefError represents the error message indicating that the git upload-pack is not our reference NotOurRefError = `exit status 128, stderr: "fatal: git upload-pack: not our ref ` )
View Source
const ( // StatusStarting represents the starting status of the SSH server StatusStarting status = iota // StatusReady represents the ready status of the SSH server StatusReady // StatusOnShutdown represents the status when the SSH server is shutting down StatusOnShutdown // StatusClosed represents the closed status of the SSH server StatusClosed )
Variables ¶
View Source
var EOFTimeout = 10 * time.Second
EOFTimeout specifies the timeout duration for EOF (End of File) in SSH connections
Functions ¶
This section is empty.
Types ¶
type OSGSSAPIServer ¶ added in v14.16.0
type OSGSSAPIServer struct {
ServicePrincipalName string
}
func NewGSSAPIServer ¶ added in v14.33.0
func NewGSSAPIServer(c *config.GSSAPIConfig) (*OSGSSAPIServer, error)
func (*OSGSSAPIServer) AcceptSecContext ¶ added in v14.16.0
func (*OSGSSAPIServer) DeleteSecContext ¶ added in v14.16.0
func (*OSGSSAPIServer) DeleteSecContext() error
type Server ¶
Server represents an SSH server instance
func (*Server) ListenAndServe ¶
ListenAndServe starts listening for SSH connections and serves them
func (*Server) MonitoringServeMux ¶
MonitoringServeMux returns the ServeMux for monitoring endpoints
Click to show internal directories.
Click to hide internal directories.