title: How to SSH into a server from a node.js application?
body: <pre><code>var exec = require('child_process').exec;
  
  exec('ssh my_ip',function(err,stdout,stderr){
      console.log(err,stdout,stderr);
  });
  </code></pre>
  
  <p>This just freezes - I guess, because <code>ssh my_ip</code> asks for password, is interactive, etc. How to do it correctly?</p>