Initial working version

This commit is contained in:
2024-07-24 22:57:32 +02:00
commit 44d50d5f7c
789 changed files with 270992 additions and 0 deletions

24
config.go Normal file
View File

@ -0,0 +1,24 @@
package main
import "io"
type config struct {
// 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
}