Skip to content

Instantly share code, notes, and snippets.

@meso
Created October 18, 2013 11:33
Show Gist options
  • Save meso/7040269 to your computer and use it in GitHub Desktop.
Save meso/7040269 to your computer and use it in GitHub Desktop.
var vertx = require('vertx');
var container = require('vertx/container');
var conf = {
"crash.auth": "simple",
"crash.auth.simple.username": "admin",
"crash.auth.simple.password": "admin",
"crash.ssh.port": "2000"
}
container.deployModule("org.crashub~vertx.shell~2.0.2", conf);
vertx.createNetServer().connectHandler(function(sock) {
new vertx.Pump(sock, sock).start();
}).listen(1234);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment