ssh

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Executor added in v0.4.0

func Executor(target string, config *ssh.ClientConfig, subcommand []string) nescript.ExecFunc

Types

type SSHProcess

type SSHProcess struct {
	// contains filtered or unexported fields
}

Process represents a single instance of the script running or completed on the local device.

func (*SSHProcess) Close

func (p *SSHProcess) Close()

func (*SSHProcess) Kill

func (p *SSHProcess) Kill() error

func (*SSHProcess) Result

func (p *SSHProcess) Result() (*nescript.Result, error)

func (*SSHProcess) Signal

func (p *SSHProcess) Signal(s os.Signal) error

func (*SSHProcess) Write

func (p *SSHProcess) Write(input string) error

Jump to

Keyboard shortcuts

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