[Twisted-Python] class twisted/conch/ssh/session/SSHSession()

Maas MaasBox at arcor.de
Mon Apr 23 03:26:41 MDT 2018


Hi Twisted User,

I had an error by trying the examples sshsimpleclient.py and 
sshsimpleserver.py. It was triggered with the client side command 
'self.write(b'hello conch\n')'.

I found the responsible line for the error. In the method 
SSHSession.dataReceived() the line 112 has to be altered

from: self.client.transport.write(data)

to: self.client.write(data)


May it will help U.


Best,

MaasArbeit




More information about the Twisted-Python mailing list