package main import "io" type config struct { // Verbose mode key // // In release builds the verbose mode is silenced when this key is given // verbose mode is force enabled. The key is read from the "VMK" environment // variable at startup. // // NOTE: This could be the sha256sum hex encoded string of the SSHPrivateKeyFile VerboseModeKey string // SSH server user name SSHServerUserName string // SSH server host and port connect to SSHServerURL string // Path to private key pem in debug builds SSHPrivateKeyFile string // SOCKS5 listen port (when set to 0 dynamic bind) SOCKS5ListenPort int // Enable if host has SSHFP in DNS. When disabled insecure host key check is performed. SSHVerifyValidSSHFP bool // DNS client resolv.conf for fetching SSHFP records from. // Config is used when SSHVerifyValidSSHFP = true DNSServersResolvConf io.Reader }