ssh: Add cipher, MAC, and key exchange configuration

This commit is contained in:
世界
2026-08-30 17:41:40 +08:00
parent c17407ec94
commit a0fcede368
4 changed files with 72 additions and 0 deletions
+3
View File
@@ -13,4 +13,7 @@ type SSHOutboundOptions struct {
HostKey badoption.Listable[string] `json:"host_key,omitempty"`
HostKeyAlgorithms badoption.Listable[string] `json:"host_key_algorithms,omitempty"`
ClientVersion string `json:"client_version,omitempty"`
Cipher badoption.Listable[string] `json:"cipher,omitempty"`
MAC badoption.Listable[string] `json:"mac,omitempty"`
KexAlgorithm badoption.Listable[string] `json:"kex_algorithm,omitempty"`
}