On 13 Apr 2010, at 09:42, Marcin Krol wrote:

> Hello James,
> 
> I swear it's real this time. :-)
> 
> So I have this code:
> 
>        try:
>            channel = transport.open_session()
>        except Exception, e:
>            return str(e)
> 
> 
> ..and I traced execution of the program in winpdb:
> 
> 
> 1. before "channel = transport.open_session()" I have transport alive:
> 
> transport <paramiko.Transport at 0xB21578CCL (cipher blowfish-cbc, 128 bits) 
> (active; 0 open channel(s))>
> 
> 
> 
> 2. after "channel = transport.open_session()" transport becomes dead for some 
> reason:
> 
> transport <paramiko.Transport at 0xB21578CCL (unconnected)>
> 
> 
> FWIW,
> 
> channel becomes None after the call.

Try turning on the debug log on the paramiko side -- what does it say?

robey


_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to