ssh

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: Apache-2.0 Imports: 6 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 Execute

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

func ExecuteI

func ExecuteI(vmName string, command string) error

ExecuteI execute ssh in interactive mode

func ExecuteIArgs

func ExecuteIArgs(vmName string, args ...string) error

ExecuteIArgs run ssh in interactive mode with args

func OpenTerminal

func OpenTerminal(vmName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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