remotecommand

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyCommand = errors.New("Empty command")
)

Functions

func Command

func Command(m Machine, cmd string, hostKeyCallback ssh.HostKeyCallback) ([]byte, error)

Types

type Machine

type Machine interface {
	Addr() string
	Key() []byte
	Password() string
	User() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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