Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureSSHClient ¶ added in v0.0.3
func ConfigureSSHClient(user string, signer ssh.Signer) *ssh.ClientConfig
ConfigureSSHClient : configure ssh client
Types ¶
type Device ¶ added in v0.0.3
type Device interface { SSHConnect(config *ssh.ClientConfig) error SetupIO() StartShell() error Close() error }
Device : device interface
type SSHDevice ¶ added in v0.0.3
SSHDevice : ssh device
func (*SSHDevice) SSHConnect ¶ added in v0.0.3
func (d *SSHDevice) SSHConnect(config *ssh.ClientConfig) error
SSHConnect : ssh connect
func (*SSHDevice) StartShell ¶ added in v0.0.3
StartShell : requests a pseudo terminal and starts the remote shell.
Click to show internal directories.
Click to hide internal directories.