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

This commit is contained in:
刘祥超
2021-06-30 14:56:36 +08:00
parent e544e088be
commit 98a2d61fd1
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
}