[Twisted-Python] class twisted/conch/ssh/session/SSHSession()
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
On Apr 23, 2018, at 2:26 AM, Maas <MaasBox@arcor.de> wrote:
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
Thanks for your bug report! Does someone have a moment to write this up and put it into Trac? :-) -glyph
participants (2)
-
Glyph
-
Maas