remote

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 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 *SSHParams) (*ssh.Client, error)

Types

type SSHParams

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

func (*SSHParams) TargetHost

func (p *SSHParams) TargetHost() string

Jump to

Keyboard shortcuts

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