refactor(sftp): mixed options style

This commit is contained in:
Nicolas Meienberger 2026-05-27 21:45:32 +02:00
parent 581e0b007b
commit 2add15c8c0
No known key found for this signature in database

View file

@ -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) {