feat(ssh): support custom SSH agent socket path
This commit is contained in:
1 parent
c4c427fb67
commit
00541291e3
13 files changed
+56
-5
No files matched your search
@@ -148,6 +148,11 @@ pub struct SshTunnelConfig {
|
||||
pub expose_lan: bool,
|
||||
#[serde(default)]
|
||||
pub use_ssh_agent: bool,
|
||||
/// Custom SSH agent socket path (e.g. `~/.ssh/agent.sock`).
|
||||
/// When set and `use_ssh_agent` is true, this path is used instead of
|
||||
/// the `SSH_AUTH_SOCK` environment variable.
|
||||
#[serde(default)]
|
||||
pub ssh_agent_sock_path: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
||||
|
||||
Reference in new issue
Block a user