Documentation ¶
Index ¶
- Constants
- func DLog(conn ssh.ConnMetadata) *zerolog.Event
- func ELog(conn ssh.ConnMetadata) *zerolog.Event
- func ILog(conn ssh.ConnMetadata) *zerolog.Event
- type DirectTCPIPExtraData
- type EnvRequestPayload
- type ExecRequestPayload
- type ExitStatusRequestPayload
- type PtyRequestPayload
- type SSHD
- type TunnelPool
- type WindowChangeRequestPayload
Constants ¶
View Source
const ( ChannelTypeDirectTCPIP = "direct-tcpip" ChannelTypeSession = "session" RequestTypePtyReq = "pty-req" RequestTypeX11Req = "x11-req" RequestTypeEnv = "env" RequestTypeShell = "shell" RequestTypeExec = "exec" RequestTypeSubsystem = "subsystem" RequestTypeWindowChange = "window-change" RequestTypeExitStatus = "exit-status" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirectTCPIPExtraData ¶
type EnvRequestPayload ¶
type ExecRequestPayload ¶
type ExecRequestPayload struct {
Command string
}
type ExitStatusRequestPayload ¶
type ExitStatusRequestPayload struct {
Code uint32
}
type PtyRequestPayload ¶
type SSHD ¶
type SSHD struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts types.SSHDOptions) *SSHD
func (*SSHD) OverrideKeys ¶
type TunnelPool ¶
type TunnelPool struct {
// contains filtered or unexported fields
}
func NewTunnelPool ¶
func NewTunnelPool(clientSigners []ssh.Signer) *TunnelPool
func (*TunnelPool) Close ¶
func (t *TunnelPool) Close()
Click to show internal directories.
Click to hide internal directories.