Documentation ¶
Index ¶
- func Command(Client *ssh.Client)
- func FormatPublicKey(buf []byte) ssh.AuthMethod
- func ReadKey(keypath []string) []ssh.AuthMethod
- func SSHPW(user, password, ip string, port int) *ssh.Client
- func SSHRsaFile(ip string, port int, user, keyPath string) *ssh.Client
- func SSHRsaKey(ip string, port int, user string, key ssh.AuthMethod) *ssh.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHRsaFile ¶
SSHRsaFile rsa文件连接
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.