Add native services and embeddable transport SDK
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user