connector

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2016 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHclient

type SSHclient struct {
	// contains filtered or unexported fields
}

func StartSSHsession

func StartSSHsession(ip string, privateKey string) (c *SSHclient, err error)

func (*SSHclient) Close

func (c *SSHclient) Close()

func (*SSHclient) ExecuteRemoteCommand

func (c *SSHclient) ExecuteRemoteCommand(run string) (err error)

func (*SSHclient) RemoteShell

func (c *SSHclient) RemoteShell() (err error)

func (*SSHclient) SCoPy

func (c *SSHclient) SCoPy(source, destination, target string) (err error)

Jump to

Keyboard shortcuts

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