ssh

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EstablishConn

func EstablishConn(vmName string) error

EstablishConn make sure connection to the vm is established or return an error if not

func ExecInteract added in v0.65.0

func ExecInteract(vmName string, cmd string) error

ExecInteract execute ssh in interactive mode

func Execute

func Execute(vmName string, cmd string) (string, error)

func OpenTerminal

func OpenTerminal(vmName string) error

func WithArgs added in v0.53.0

func WithArgs(vmName string, args []string) error

WithArgs run ssh command with args passed

Types

This section is empty.

Jump to

Keyboard shortcuts

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