fix(climc): add port for ssh (#17513)

This commit is contained in:
屈轩
2023-07-13 16:39:48 +08:00
committed by GitHub
parent 3e60f6633e
commit e78138dc85
+1
View File
@@ -1263,6 +1263,7 @@ type ServerMakeSshableOptions struct {
User string `help:"ssh username for ssh connection" default:"root"`
PrivateKey string `help:"ssh privatekey for ssh connection"`
Password string `help:"ssh password for ssh connection"`
Port int `help:"ssh port for ssh connection"`
}
func (opts *ServerMakeSshableOptions) Params() (jsonutils.JSONObject, error) {