diff --git a/cowrie/core/ssh.py b/cowrie/core/ssh.py index d19c63b..3f7a1fa 100644 --- a/cowrie/core/ssh.py +++ b/cowrie/core/ssh.py @@ -365,6 +365,7 @@ class HoneyPotTransport(transport.SSHServerTransport, TimeoutMixin): # this seems to be the only reliable place of catching lost connection def connectionLost(self, reason): + self.setTimeout(None) for i in self.interactors: i.sessionClosed() if self.transport.sessionno in self.factory.sessions: