ssh模块加入私钥连接

This commit is contained in:
shadow1ng
2021-05-31 10:03:01 +08:00
parent 162d1dd3a3
commit 90ef895e0f
9 changed files with 288 additions and 264 deletions
+1
View File
@@ -48,6 +48,7 @@ type HostInfo struct {
Timeout int64
Scantype string
Command string
SshKey string
Username string
Password string
Usernames []string