ssh

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSSHClient

func CreateSSHClient(params *ClientParams) (*ssh.Client, error)

Types

type ClientParams

type ClientParams struct {
	DisplayName    string
	UserName       string
	Password       string
	Host           string
	Port           int
	PrivateKeyPath string
	Quiet          bool
	Out            io.Writer
}

func (*ClientParams) TargetHost

func (p *ClientParams) TargetHost() string

Jump to

Keyboard shortcuts

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