Sun Oct 12 08:39:29 EDT 2014

Phone home

I'd like to find a way for a python application to 'phone home',
i.e. attach to a remote management console.

I tried the combination of pexpect + ssh's command= + socat which
works well, but does not work on windows without cygwin installed.

This raises two questions:

 - On windows, how do you connect pipes to a program, like Git's
   ssh.exe (mingw).

 - Is there a simple way to set up a secure tcp connection not piping
   through ssh?

Let's use ssh to setup the tunnel and use sockets on localhost.