Skip to content

Commit 8e827bc

Browse files
committed
fix(remote-ssh): propagate proxy command through port forwarding
1 parent e455382 commit 8e827bc

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/apps/desktop/src/api/ssh_api.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,7 @@ mod tests {
15061506
},
15071507
default_workspace: Some("/workspace".to_string()),
15081508
proxy_jump: None,
1509+
proxy_command: None,
15091510
container: Some(ContainerWorkspaceConfig {
15101511
name: "dev".to_string(),
15111512
access: ContainerAccess::DockerExec,

‎src/crates/assembly/core/src/agentic/tools/implementations/port_forward_tool.rs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,10 @@ impl PortForwardTool {
234234
username,
235235
auth,
236236
default_workspace: None,
237-
proxy_jump: config_entry.and_then(|entry| entry.proxy_jump),
237+
proxy_jump: config_entry
238+
.as_ref()
239+
.and_then(|entry| entry.proxy_jump.clone()),
240+
proxy_command: config_entry.and_then(|entry| entry.proxy_command),
238241
container: None,
239242
wsl: None,
240243
options: SSHConnectionOptions::default(),

0 commit comments

Comments
 (0)