command

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(u *osauth.User, shell, term, host string, envs []string, command ...string) *exec.Cmd

func SFTPServerCommand added in v0.14.3

func SFTPServerCommand() *exec.Cmd

SFTPServerCommand creates the command used by agent to start the SFTP server used in a SFTP connection.

Types

type SFTPServerMode added in v0.14.3

type SFTPServerMode string
const (
	SFTPServerModeNative SFTPServerMode = "native"
	SFTPServerModeDocker SFTPServerMode = "docker"
)

Jump to

Keyboard shortcuts

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