sky

skyrun

Skyrun is a small utility library to assist running local scripts on remote servers. Skyrun logs into remote hosts via SSH.

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

3

Size (min+gzip)

6.7KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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
    }
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial