camssh

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SshConnection

type SshConnection struct {
	Config         *ssh.ClientConfig
	Client         *ssh.Client
	Bastion_config *ssh.ClientConfig
	Bastion        *ssh.Client
	Stdout         *output.StdoutManager
	Stderr         *output.StderrManager
}

func NewSshConnection

func NewSshConnection(host string, args *cliargs.Arguments, stdout *output.StdoutManager, stderr *output.StderrManager) (*SshConnection, error)

func (*SshConnection) Close

func (me *SshConnection) Close()

func (*SshConnection) SudoWhoAmI

func (me *SshConnection) SudoWhoAmI(args *cliargs.Arguments) (string, error)

func (*SshConnection) WhoAmI

func (me *SshConnection) WhoAmI() (string, error)

Jump to

Keyboard shortcuts

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