ssh

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKeyFile

func PublicKeyFile(file string) ssh.AuthMethod

PublicKeyFile creates the auth method for the given private key file

func RemoteSSHCommand

func RemoteSSHCommand(user string, privateKey string, host string, port string, cmd string, envVars map[string]string) error

RemoteSSHCommand invokes the given command on a host and port

Types

This section is empty.

Jump to

Keyboard shortcuts

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