ssh

package
v0.0.0-...-9336d8b Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2016 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConfig

func ClientConfig(c Credential) (*ssh.ClientConfig, error)

ClientConfig ...

func Run

func Run(command string, c Credential) (string, error)

Run executes shell commands or given host

Types

type Credential

type Credential struct {
	User string
	Host string
	Port int
}

Credential ...

Jump to

Keyboard shortcuts

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