@quartata There are some things I want to implement or improve, like some basic stats, a proper public API, a faster and larger cache, better load balancing, etc. All of those would become quite a bit easier with a server app.
This probably will be your best bet for SSH, although it doesn't look like it has an easy way of doing it non-blocking: github.com/paramiko/paramiko
looks like you can get a fileno out of it, which you could then add a callback for using tornado's IOLoop.add_handler. I'll try to make a proof of concept just for fun
(no idea if you'll still want to use SSH to communicate with the arena)