Support ProxyJump option when using ssh command (#1004)

* Add proxyjump func

* Run go mod tidy

* Run make fmt
This commit is contained in:
shopper
2020-06-17 12:15:12 +09:00
committed by GitHub
parent 4d8599e4fc
commit d9d5e612ff
3 changed files with 10 additions and 0 deletions

View File

@@ -1035,6 +1035,7 @@ type ServerInfo struct {
ServerName string `toml:"-" json:"serverName,omitempty"`
User string `toml:"user,omitempty" json:"user,omitempty"`
Host string `toml:"host,omitempty" json:"host,omitempty"`
JumpServer []string `toml:"jumpServer,omitempty" json:"jumpServer,omitempty"`
Port string `toml:"port,omitempty" json:"port,omitempty"`
SSHConfigPath string `toml:"sshConfigPath,omitempty" json:"sshConfigPath,omitempty"`
KeyPath string `toml:"keyPath,omitempty" json:"keyPath,omitempty"`