From 2add15c8c0e0ac8002b0ff26935174b33961b051 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Wed, 27 May 2026 21:45:32 +0200 Subject: [PATCH] refactor(sftp): mixed options style --- apps/agent/src/volume-host/backends/sftp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/agent/src/volume-host/backends/sftp.ts b/apps/agent/src/volume-host/backends/sftp.ts index 8d917428..ab738c75 100644 --- a/apps/agent/src/volume-host/backends/sftp.ts +++ b/apps/agent/src/volume-host/backends/sftp.ts @@ -143,7 +143,7 @@ const mount = async (config: BackendConfig, mountPath: string) => { ]; if (config.allowLegacySshRsa) { - options.push("HostKeyAlgorithms=+ssh-rsa", "ssh_command=ssh -oPubkeyAcceptedAlgorithms=+ssh-rsa"); + options.push("ssh_command=ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa"); } if (config.skipHostKeyCheck) {