diff --git a/confluent_server/confluent/plugins/shell/ssh.py b/confluent_server/confluent/plugins/shell/ssh.py index b6a08eed..331a4a5a 100644 --- a/confluent_server/confluent/plugins/shell/ssh.py +++ b/confluent_server/confluent/plugins/shell/ssh.py @@ -72,6 +72,7 @@ class SshShell(conapi.Console): while self.connected: pendingdata = self.shell.recv(8192) if pendingdata == '': + self.datacallback(conapi.ConsoleEvent.Disconnect) return self.datacallback(pendingdata)