SSH登录支持Passphrase

This commit is contained in:
刘祥超
2021-11-06 15:31:07 +08:00
parent 521bd746e3
commit 9f53f59f18
10 changed files with 59 additions and 13 deletions

View File

@@ -40,6 +40,7 @@ func (this *GrantAction) RunGet(params struct {
"username": grant.Username,
"password": strings.Repeat("*", len(grant.Password)),
"privateKey": grant.PrivateKey,
"passphrase": strings.Repeat("*", len(grant.Passphrase)),
"description": grant.Description,
"su": grant.Su,
}