ssh

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LinuxAgentDeprovisionCommand is the command needed to "deprovision" the (Windows)Azure VM Agent
	// this clears out caches, resets the vm agent configuration and generally "generalizes" this VM
	// and is vaguely akin to `sysprep` on Windows.
	LinuxAgentDeprovisionCommand = "sudo waagent -verbose -deprovision+user -force"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Hostname      string
	Port          int
	Username      string
	Password      string
	CommandsToRun []string
}

func (Runner) Run

func (r Runner) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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