diff --git a/common/ssh_client/ssh.py b/common/ssh_client/ssh.py index edeb04b..8333039 100644 --- a/common/ssh_client/ssh.py +++ b/common/ssh_client/ssh.py @@ -80,6 +80,7 @@ def init(self): raise Exception("init ssh client error: {}".format(e)) def exec_cmd(self, cmd): + self.__cmd_filter(cmd) return self.client.exec_cmd(cmd).strip() def download(self, remote_path, local_path):