Documentation ¶
Index ¶
- func Connect(user, password, host, key string, port int, cipherList []string) (*ssh.Session, error)
- func GetDefaultPrivateKeyFile() string
- func GetDefaultPublicKeyFile() string
- func QuickConnectAndGetRunOutput(host, cmd string) ([]byte, error)
- func QuickConnectAndRun(host, cmd string) error
- func QuickConnectUsingDefaultSSHKey(host string) (*ssh.Session, error)
- func ScpFileToRemote(source, dst, host string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultPrivateKeyFile ¶
func GetDefaultPrivateKeyFile() string
func GetDefaultPublicKeyFile ¶
func GetDefaultPublicKeyFile() string
func QuickConnectAndRun ¶
func ScpFileToRemote ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.