diff --git a/src/index.js b/src/index.js index ec253ff..38ba766 100644 --- a/src/index.js +++ b/src/index.js @@ -14,9 +14,7 @@ const { const defaultOptions = { ssh: true, sshCmdArgs: [ - '-o StrictHostKeyChecking=no', - `-o HostKeyAlgorithms=${REMOTE_KEY_TYPES || '+ssh-rsa'}`, - `-o PubkeyAcceptedKeyTypes=${REMOTE_KEY_TYPES || '+ssh-rsa'}`, + `-o StrictHostKeyChecking=no -o HostKeyAlgorithms=${REMOTE_KEY_TYPES || '+ssh-rsa'} -o PubkeyAcceptedKeyTypes=${REMOTE_KEY_TYPES || '+ssh-rsa'}`, ], recursive: true };