But perhaps you could tell us more about what you want to do. If you just want to execute multiple tasks, you could write a script and send that to the server?
As for fexpect, it will not stray so far from fabric as to implement persistent connections, it is really meant only to complement the interactivity.
Jasper
--
Jasper van den Bosch
I'd love to see your attachment, but please use OpenDocument, not a proprietary format like docx. It's an international standard, endorsed by the EU, and implemented in many office suites, such as LibreOffice, and commercial products from Oracle, Sun, IBM and Microsoft (from 2007).