Documentation ¶
Index ¶
- func UploadsshKeys(conn SSHConnection, args UploadsshKeysArgs) (bool, error)
- type SSHConnection
- func (c SSHConnection) Close()
- func (c *SSHConnection) Connect(user string, address string) error
- func (c SSHConnection) Run(cmd string) (string, string, error)
- func (c SSHConnection) RunSudo(cmd string) (string, string, error)
- func (c SSHConnection) RunSudoPassword(cmd string, password string) (string, string, error)
- type UploadsshKeysArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadsshKeys ¶
func UploadsshKeys(conn SSHConnection, args UploadsshKeysArgs) (bool, error)
Types ¶
type SSHConnection ¶
type SSHConnection struct { Password string UseSSHKey bool Debug bool // contains filtered or unexported fields }
func (SSHConnection) Close ¶
func (c SSHConnection) Close()
func (SSHConnection) RunSudoPassword ¶
Click to show internal directories.
Click to hide internal directories.