Documentation ¶
Index ¶
- func Connect(host string, port int, username string, privKeyFile string, sess *ssh.Session) error
- func CopyID(username, host string, port int, passwd, pubKeyFile string) ([]byte, error)
- func ErrorInfo(err error, sess *ssh.Session)
- func GenKey(keyFilePath string) (string, string, error)
- func GetClientByPasswd(username, host string, port int, passwd string) (*sshclient.Client, error)
- func Info(msg string, sess *ssh.Session)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientByPasswd ¶ added in v1.2.0
GetClientByPasswd GetClientByPasswd
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.