Robo-TiTO is an alternative connection to a remote machine terminal.
Sometimes you cannot reach an ssh ip:port of an host by a lot of reasons:
- host is behind NAT
- firewall protection
- remote host with dynamic ip
- port redirections
- annoying administrators
Robo-TiTO allows you circumvent these problems and execute commands remotelly on your server.
ping-pong with xmpp server, network broken will quit instance. god will re-up it. make it compactible with ruby 1.9+
This is a light-weight bot connecting through XMPP (eg.: GTalk) that allows you run shell command remotely. Robo-TiTO will not open a port to be accessed, instead of that, it will connect to a jabber service. You send your commands in a chat session and receive terminal output back. You will be "talking" to your server like you always did, but now you will get some answers from it.
- bundler
- Ruby <= 1.8.7 (Unfortunately, it depends on a gems that does not work with any greater version. But works fine with that ;) )
bundle install
# adjust the bot credentials and server settings using the example file provided
cp config/credentials.rb.example credentials.rb
vim config/credentials.rb
# start with god
god -c robotito.god
# check additional available options with
god status robotito
Philippe Creux and its suggestion on gist