refactor(sftp): mixed options style
This commit is contained in:
parent
581e0b007b
commit
2add15c8c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue