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

@@ -28,6 +28,7 @@ func (this *CreateAction) RunPost(params struct {
Username string
Password string
PrivateKey string
Passphrase string
Description string
Must *actions.Must
@@ -58,6 +59,7 @@ func (this *CreateAction) RunPost(params struct {
Username: params.Username,
Password: params.Password,
PrivateKey: params.PrivateKey,
Passphrase: params.Passphrase,
Description: params.Description,
NodeId: 0,
})