python - Twisted Conch Packet Integrity Error -


when connect using twisted conch packet integrity error (6 bytes remaining) @ serverloop.c:980 in /var/log/secure.log after connection gets dropped ("disconnecting: packet integrity error")

the server vmware system, no firewalls or other security between systems. see authentication runs (accepted password port ssh2).

my ssh.py same example:

class sshcommandchannel(channel.sshchannel):     name = "session"     def __init__(self, eventparser, *args, **kwargs):         channel.sshchannel.__init__(self, *args, **kwargs)      def _cbsendrequest(self, data):         print("%s" % data)         self.conn.sendeof(self)      def channelopen(self, data):         d = self.conn.sendrequest(self, 'exec', common.ns(data), wantreply=true)         d.addcallback(self._cbsendrequest)         return none      def extreceived(self, datatype, data):         self.datarecieved(data)      def datarecieved(self, data):         print("w00t: %s" % data)      def closed(self):         print("channel closed =(") 

i have no idea how continue quest on getting example work. advice appreciated.

my guess you're passing strange data exec request. don't recall offhand data passed client side of channel is, don't want sending server. server expecting ns-encoded command execute, not random data. unfortunately can't reproduce error seeing here on mac, points in right direction!


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -