Add native services and embeddable transport SDK

This commit is contained in:
DuProcess
2026-06-30 19:21:23 -04:00
parent 35d9c9c6de
commit bbf6ffd725
13 changed files with 4328 additions and 33 deletions
+6
View File
@@ -46,6 +46,10 @@ pub struct ServerConfig {
pub allow_remote_non_loopback_bind: bool,
#[serde(default)]
pub allow_agent_forwarding: bool,
#[serde(default = "default_true")]
pub allow_file_transfer: bool,
#[serde(default = "default_true")]
pub allow_exec_command: bool,
#[serde(default = "default_accept_env")]
pub accept_env: Vec<String>,
/// Run terminal sessions under per-session holder processes so shells
@@ -82,6 +86,8 @@ impl Default for ServerConfig {
allow_remote_forwarding: false,
allow_remote_non_loopback_bind: false,
allow_agent_forwarding: false,
allow_file_transfer: true,
allow_exec_command: true,
accept_env: default_accept_env(),
persist_sessions: true,
}