Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHAgent ¶
func SSHAgent() ssh.AuthMethod
Types ¶
type SSHConnection ¶
type SSHConnection struct {
// contains filtered or unexported fields
}
func NewSSHConnection ¶
func NewSSHConnection(host string, username string, password string) (sshcn *SSHConnection)
func (*SSHConnection) Connect ¶
func (sshcn *SSHConnection) Connect() (clnt *sshclient, err error)
Click to show internal directories.
Click to hide internal directories.