handlers

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JumpHandler

func JumpHandler(sshPriv ssh.Signer, serverConn ssh.Conn) internal.ChannelHandler

func LocalForward

func LocalForward(_ *internal.User, newChannel ssh.NewChannel, l logger.Logger)

func ServerConsoleSession added in v1.0.13

func ServerConsoleSession(ServerConn ssh.Conn) internal.ChannelHandler

func Session

func Session(user *internal.User, newChannel ssh.NewChannel, log logger.Logger)

Session has a lot of 'function' in ssh. It can be used for shell, exec, subsystem, pty-req and more. However these calls are done through requests, rather than opening a new channel This callback just sorts out what the client wants to be doing

func StartRemoteForward

func StartRemoteForward(user *internal.User, r *ssh.Request, sshConn ssh.Conn)

func StopRemoteForward

func StopRemoteForward(rf internal.RemoteForwardRequest) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL