ssh

package
v0.0.0-...-7645032 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Host string `yaml:"host"`
	Port int    `yaml:"port"`
	User string `yaml:"user"`
	Pass string `yaml:"pass"`
}

func (*Endpoint) String

func (endpoint *Endpoint) String() string

type SshTunnelConfig

type SshTunnelConfig struct {
	Local  *Endpoint `yaml:"local"`
	Target *Endpoint `yaml:"target"`
	Remote *Endpoint `yaml:"remote"`
}

type Tools

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

func (*Tools) CopyKey

func (t *Tools) CopyKey(host string, port int, username string, password string)

func (*Tools) CreateTunnel

func (t *Tools) CreateTunnel(config *SshTunnelConfig) error

type YamlConfig

type YamlConfig struct {
	Tunnels []*SshTunnelConfig `yaml:"tunnels"`
}

Jump to

Keyboard shortcuts

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