Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivateKeyFile ¶
func PrivateKeyFile(file string) ssh.AuthMethod
Types ¶
type Endpoint ¶
func NewEndpoint ¶
type SSHTunnel ¶
type SSHTunnel struct { Local *Endpoint Server *Endpoint Remote *Endpoint Config *ssh.ClientConfig Log *log.Logger C chan *ssh.Client }
func NewSSHTunnel ¶
NewSSHTunnel creates a new ssh tunnelctl to sshServer and asks the server to start listening on remote interface Will forward and connections to local
Click to show internal directories.
Click to hide internal directories.