0.2.0 • Published 12 years ago

skyrun v0.2.0

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

Skyrun

Skyrun is a small node.js utility library to assist running local scripts on remote servers. With Skyrun you can log into a remote server and run a script of any kind (such as bash, node, python etc. Just provide the appropriate hash bang).

Using Skyrun

At the moment Skyrun only supports logging into remote hosts via ssh public key authentication. Password authentication via ssh is not supported.

var skyrun = require('skyrun');
	
var options = {
	'host':'remote server',
	'user':'user to log in with' // optional. Defaults to root
	'identity':'private key', // optional
}
	
var server = skyrun.createServer(options);
	
server.run('local/path/to/myscript.sh', function(stderr, stdout) {
	if (stderr) {
		// There was an error running the script
	}
	else {
		// No error. have a look in stdout to see the output of the script
	}
});
0.2.0

12 years ago

0.1.9

12 years ago

0.1.8

12 years ago

0.1.7

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago