sshconn

package
v0.0.0-...-7052534 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(userName, host string, port int, idFile string, password bool, checkKnownHosts bool, verbose bool, errPipe io.Writer) (*ssh.Session, error)

Connect Main function that establishes connection

func FillDefaultUsername

func FillDefaultUsername(userName string) string

FillDefaultUsername Returns the default username according to the env

Types

This section is empty.

Jump to

Keyboard shortcuts

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