package
3.2.17+incompatible
Repository: https://github.com/geoinstinct-web/teleport.git
Documentation: pkg.go.dev
# Functions
NewExecRequest creates a new local or remote Exec.
NewMonitor returns a new monitor.
NewServerContext creates a new *ServerContext which is used to pass and manage resources.
No description provided by the author
NewTerminal returns a new terminal.
NewTrackingReader returns a new instance of activity tracking reader.
StartKeepAliveLoop starts the keep-alive loop.
# Structs
AuthHandlers are common authorization and authentication related handlers used by the regular and forwarding server.
ExecResult is used internally to send the result of a command execution from a goroutine to SSH request handler and back to the calling client.
IdentityContext holds all identity information associated with the user logged on the connection.
KeepAliveParams configures the keep-alive loop.
Monitor moniotiors connection activity and disconnects connections with expired certificates or with periods of inactivity.
MonitorConfig is a wiretap configuration.
ServerContext holds session specific context, such as SSH auth agents, PTYs, and other resources.
SessionRegistry holds a map of all active sessions on a given SSH server.
SubsystemResult is a result of execution of the subsystem.
TermHandlers are common terminal handling functions used by both the regular and forwarding server.
TrackingReader wraps the writer and every time write occurs, updates the activity in the server context.
# Interfaces
ActivityTracker is a connection activity tracker, it allows to update the activity on the connection and retrieve the time when the connection was last active.
Exec executes an "exec" request.
RequestSender is an interface that impliments SendRequest.
Server is regular or forwarding SSH server.
Subsystem represents SSH subsytem - special command executed in the context of the session.
Terminal defines an interface of handy functions for managing a (local or remote) PTY, such as resizing windows, executing commands with a PTY, and cleaning up.
TrackingConn is an interface representing tracking connection.
# Type aliases
LookupGroup is used to mock the value returned by user.LookupGroup(string).
LookupUser is used to mock the value returned by user.Lookup(string).