Mon Oct 6 19:23:38 CEST 2014

Adding a "phone home" option

Problem: no inbound ssh allowed.
Solution: use an outbound ssh connection to connect to console.

Several options:

- operator types command to set up ssh tunnel to local ports.
  local ports run console

- operator types command to set up ssh connection to remote host
  ssh -> socat -> unix socket listen + socat unix socket client

For the console [1][2]:

import code

[1] http://stackoverflow.com/questions/4163964/python-is-it-possible-to-attach-a-console-into-a-running-process
[2] https://docs.python.org/2/library/code.html