Documentation ¶
Index ¶
- Constants
- func Unmarshal(data []byte, out interface{}) error
- type DirectStreamLocalChannelOpenPayload
- type EnvRequestPayload
- type ExecRequestPayload
- type ExitSignalPayload
- type ExitStatusPayload
- type ForwardTCPChannelOpenPayload
- type ForwardTCPIPRequestPayload
- type ForwardedStreamLocalChannelOpenPayload
- type PtyRequestPayload
- type RequestType
- type ShellRequestPayload
- type SignalRequestPayload
- type StreamLocalForwardRequestPayload
- type SubsystemRequestPayload
- type WindowRequestPayload
- type X11ChanOpenRequestPayload
- type X11RequestPayload
Constants ¶
View Source
const (
SSH_MSG_USERAUTH_REQUEST = 50
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvRequestPayload ¶
type ExecRequestPayload ¶
type ExecRequestPayload struct {
Exec string
}
type ExitSignalPayload ¶
type ExitStatusPayload ¶
type ExitStatusPayload struct {
ExitStatus uint32
}
type PtyRequestPayload ¶
type RequestType ¶
type RequestType string
const ( // Channel RequestTypeEnv RequestType = "env" RequestTypePty RequestType = "pty-req" RequestTypeShell RequestType = "shell" RequestTypeExec RequestType = "exec" RequestTypeSubsystem RequestType = "subsystem" RequestTypeWindow RequestType = "window-change" RequestTypeSignal RequestType = "signal" RequestTypeX11 RequestType = "x11-req" // Global RequestTypeReverseForward RequestType = "tcpip-forward" RequestTypeCancelReverseForward RequestType = "cancel-tcpip-forward" RequestTypeStreamLocalForward RequestType = "streamlocal-forward@openssh.com" RequestTypeCancelStreamLocalForward RequestType = "cancel-streamlocal-forward@openssh.com" )
type ShellRequestPayload ¶
type ShellRequestPayload struct { }
type SignalRequestPayload ¶
type SignalRequestPayload struct {
Signal string
}
type StreamLocalForwardRequestPayload ¶
type StreamLocalForwardRequestPayload struct { //State uint32 this field is there in the docs but not actually present in the channel data, weird SocketPath string }
type SubsystemRequestPayload ¶
type SubsystemRequestPayload struct {
Subsystem string
}
type WindowRequestPayload ¶
Click to show internal directories.
Click to hide internal directories.