Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node exec child_process ssh command password

const {spawn} = require('child_process');
ssh = spawn('ssh', [
  'user@host.xx.yy.zz',
  'ls /'
]);
 
PREVIOUS NEXT
Tagged: #node #exec #ssh #command #password
ADD COMMENT
Topic
Name
8+1 =