axw/pushy — Issue #5: Unable to get a connection, marshal dump needs a file as argument
Author: axw
Created: 2012-02-07 15:00:20+00:00
State: open
Labels: Critical, Fix Released

Evaluating pushy, i can't establish a connection to remote host. I've tried with pushy 0.5 and trunk version.

[code]
In [1]: import pushy

In [2]: con = pushy.connect("ssh:192.168.0.13", username="user", password="*****")
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pushy/client.py", line 361, in __init__
marshal.dump(packages, self.server.stdin, 1)
TypeError: marshal.dump() 2nd arg must be file
[/code]

Local host : Ubuntu
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2

Remote host : Debian
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2

Am I doing something wrong ? How can I debug this ?

Thanks in advance, hope I can make it run has this module seems very interesting for me coupled with fabric.