Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CanelledError = errors.New("Cancelled")
)
View Source
var (
PEMDecodeError = errors.New("Cannot Decode PEM.")
)
Functions ¶
func OpenSSHAuthMethod ¶
func OpenSSHAuthMethod(keyFile string) (ssh.AuthMethod, error)
Types ¶
type ClientConfig ¶
type ClientConfig struct { ssh.ClientConfig RetryInterval time.Duration SSHServer Endpoint Remote Endpoint Local Endpoint }
ClientConfig will confgure SSH connection and reserve tunnel.
Click to show internal directories.
Click to hide internal directories.