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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download added in v1.0.10

func Download(dataDir string) func(user *internal.User, newChannel ssh.NewChannel, log logger.Logger)

func LocalForward

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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