Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotReady will be returned if the SSH transport is not ready when // calling Connect. ErrNotReady = errors.New("ssh transport is not ready") )
Functions ¶
func Init ¶
func Init(db database.ReadWriter) error
Init will initiate internal structures for the SSH transport including generating a private key.
Types ¶
type SSH ¶
type SSH struct { database.Object `storm:"inline"` Address string `json:"address" description:"Hostname or IP address to connect to (1.2.3.4 or 1.2.3.4:22)"` Username string `json:"username" description:"Username"` }
SSH is a transport using ordinary SSH access.
Click to show internal directories.
Click to hide internal directories.