package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Packages

Package mode defines the interfaces used by the server to determine how to handle authentication and sessions.
No description provided by the author

# Functions

GetSessionType returns the session's type based on the SSH client session.
NewServer creates a new server SSH agent server.

# Constants

ChannelDirectTcpip is the channel type in SSH is used to establish a direct TCP/IP connection between the SSH client and a target host through the SSH server.
ChannelSession refers to a type of SSH channel that is established between a client and a server for interactive shell sessions or command execution.
LocalPortForwardFeature enable local port forward feature.
NoFeature no features enable.
RequestTypeExec is the request type for exec.
RequestTypeShell is the request type for shell.
RequestTypeSubsystem is the request type for any subsystem.
RequestTypeUnknown is the request type for unknown.
ReversePortForwardFeature enable reverse port forward feature.
SessionTypeExec is the session's type returned when the SSH client requests a command execution.
SessionTypeHeredoc is the session's type returned when the SSH client requests a command execution with a heredoc.
SessionTypeShell is the session's type returned when the SSH client requests a shell.
SessionTypeSubsystem is the session's type returned when the SSH client requests a subsystem.
SessionTypeUnknown is the session's type returned when the SSH client requests an unknown session type.
SFTPSubsystemName is the name of the SFTP subsystem.

# Structs

Config stores configuration needs for the SSH server.
No description provided by the author

# Type aliases

No description provided by the author
Type is the type of SSH session.