Documentation ¶
Overview ¶
Package viassh provides a convenient method for tunneling connections through one or more SSH tunnels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParsingHost = errors.New("error parsing host entry") ErrDialing = errors.New("error dialing host") ErrNoHostEntries = errors.New("no via entries specified") ErrSSHAgent = errors.New("error opening ssh-agent") )
errors
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Hosts are on the format username@host:port and all components of the host entry are mandatory. Hosts []string Logger *log.Logger }
Config for dialer.
Click to show internal directories.
Click to hide internal directories.