mirror of
https://github.com/Adembc/lazyssh.git
synced 2026-07-14 12:13:34 +02:00
feat: Add 60+ SSH config field support with enhanced UI (#50)
This commit is contained in:
@@ -27,4 +27,91 @@ type Server struct {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user