node exec child_process ssh commande de commande

const {spawn} = require('child_process');
ssh = spawn('ssh', [
  '[email protected]',
  'ls /'
]);
GutoTrosla