Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string
SSHServer string
SSHUser string
SSHPassword string
SSHKeyFile string
SSHTargetDial string
SSHPort string // 添加SSH端口配置
JumpHosts []string // 跳板机列表
Timeout time.Duration
Verbose bool
LogFile string
InteractiveAuth bool
SystemProxy bool // 是否启用系统代理
RuleFile string
}
Config 存储应用配置
func (*Config) GetJumpHostInfo ¶ added in v0.3.0
GetJumpHostInfo 获取跳板机信息
Click to show internal directories.
Click to hide internal directories.