0.0.3 • Published 12 years ago

sshey v0.0.3

Weekly downloads
20
License
-
Repository
github
Last release
12 years ago

sshey

a node wrapper for interactive ssh sessions.

EXAMPLE!

var ssh = require('sshey');

ssh('someone@localhost',function(){
  console.log('ssh all done!');
  process.exit();
})

API

ssh(userhost,options,cb)

  • userhost REQUIRED
    • the string user@hostname to pass to ssh
  • options optional
    • reset (default false)
      • executes reset in your terminal after the ssh session has been closed.
  • cb REQUIRED
    • the callback when all is done

ssh.resetTTY()

INSTALL

npm install sshey

NOTES

  • right now this uses customFds but the new stdio stuff in >=0.7.x will make this easier and better.
  • the process hangs open because something im doing to process stdio. ill sort it out.
0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago