SSH认证--私钥认证方式增加用户名选项

This commit is contained in:
GoEdgeLab
2021-06-30 14:56:36 +08:00
parent bb1739d042
commit 799aa13e37
7 changed files with 25 additions and 5 deletions

View File

@@ -6,4 +6,5 @@ type Credentials struct {
Username string
Password string
PrivateKey string
Method string
}