ssh

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestConnection

func TestConnection(ip string, port int, user, key string) error

Connects to ip:port as user with key and immediately exits.

func ValidUnencryptedPrivateKey

func ValidUnencryptedPrivateKey(file string) error

ValidUnecryptedPrivateKey parses SSH private key

Types

type Client

type Client interface {
	libmachine.Client
}

func OpenConnection

func OpenConnection(ip string, port int, user, key string) (Client, error)

Jump to

Keyboard shortcuts

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