Documentation ¶
Index ¶
- func GetLocalPublicSSHKey() string
- func SSHFingerprintGen(publicSSH string) string
- type Connection
- func Connect(addr, user, password string) (*Connection, error)
- func ConnectWithPassword(addr, user, password string) (*Connection, error)
- func GetConnection(ip string, port int, username string, password string) (*Connection, error)
- func GetConnectionBuild(ip string, port int, username string, password string) (*Connection, error)
- func RunCommand(command string, ip string, port int, username string, password string) (*Connection, error)
- func RunCommandWithPassword(command string, ip string, port int, username string, password string) *Connection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalPublicSSHKey ¶
func GetLocalPublicSSHKey() string
func SSHFingerprintGen ¶
Types ¶
type Connection ¶
func Connect ¶
func Connect(addr, user, password string) (*Connection, error)
func ConnectWithPassword ¶
func ConnectWithPassword(addr, user, password string) (*Connection, error)
func GetConnection ¶
func GetConnectionBuild ¶
func RunCommand ¶
func RunCommandWithPassword ¶
Click to show internal directories.
Click to hide internal directories.