title: Is it possible to run a script with ssh2shell or simple-ssh using node.js?
body: <p>In a previous question, I asked if it was possible to run a telnet session from a remote SSH session using node.js. I usually connect to a linux server via an SSH putty session, and then telnet to another idirect / modem. I would like to do this programmatically using node.js. From the answer received, I understand that I must run an expect script to execute the required telnet commands. </p>
  
  <p>Is it possible to run a script using <code>ssh2shell</code> or <code>simple-ssh</code>? </p>