domain

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Alias         string
	Aliases       []string
	Host          string
	User          string
	Port          int
	IdentityFiles []string
	Tags          []string
	LastSeen      time.Time
	PinnedAt      time.Time
	SSHCount      int

	// Additional SSH config fields
	// Connection and proxy settings
	ProxyJump            string
	ProxyCommand         string
	RemoteCommand        string
	RequestTTY           string
	SessionType          string // none, subsystem, default (OpenSSH 8.7+)
	ConnectTimeout       string
	ConnectionAttempts   string
	BindAddress          string
	BindInterface        string
	AddressFamily        string // any, inet, inet6
	ExitOnForwardFailure string // yes, no
	IPQoS                string // af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0-cs7, ef, lowdelay, throughput, reliability, or numeric value
	// Hostname canonicalization
	CanonicalizeHostname        string // yes, no, always
	CanonicalDomains            string
	CanonicalizeFallbackLocal   string // yes, no
	CanonicalizeMaxDots         string
	CanonicalizePermittedCNAMEs string

	// Port forwarding settings
	LocalForward        []string
	RemoteForward       []string
	DynamicForward      []string
	ClearAllForwardings string // yes, no
	GatewayPorts        string // yes, no, clientspecified

	// Authentication and key management
	// Public key
	PubkeyAuthentication        string
	PubkeyAcceptedAlgorithms    string
	HostbasedAcceptedAlgorithms string
	IdentitiesOnly              string
	// SSH Agent
	AddKeysToAgent string
	IdentityAgent  string
	// Password & Interactive
	PasswordAuthentication       string
	KbdInteractiveAuthentication string // yes, no
	NumberOfPasswordPrompts      string
	// Advanced
	PreferredAuthentications string

	// Agent and X11 forwarding
	ForwardAgent      string
	ForwardX11        string
	ForwardX11Trusted string

	// Connection multiplexing
	ControlMaster  string
	ControlPath    string
	ControlPersist string

	// Connection reliability settings
	ServerAliveInterval string
	ServerAliveCountMax string
	Compression         string
	TCPKeepAlive        string
	BatchMode           string // yes, no - disable all interactive prompts

	// Security and cryptography settings
	StrictHostKeyChecking string
	CheckHostIP           string // yes, no
	FingerprintHash       string // md5, sha256
	UserKnownHostsFile    string
	HostKeyAlgorithms     string
	MACs                  string
	Ciphers               string
	KexAlgorithms         string
	VerifyHostKeyDNS      string // yes, no, ask
	UpdateHostKeys        string // yes, no, ask
	HashKnownHosts        string // yes, no
	VisualHostKey         string // yes, no

	// Command execution
	LocalCommand       string
	PermitLocalCommand string
	EscapeChar         string // single character or "none"

	// Environment settings
	SendEnv []string
	SetEnv  []string

	// Debugging settings
	LogLevel string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL