Skip to content

Instantly share code, notes, and snippets.

@kiy0taka
Created October 18, 2013 11:27
Show Gist options
  • Save kiy0taka/7040199 to your computer and use it in GitHub Desktop.
Save kiy0taka/7040199 to your computer and use it in GitHub Desktop.
import static org.vertx.groovy.core.streams.Pump.createPump
def 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 { socket ->
createPump(socket, socket).start()
}.listen(1234)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment