diff --git a/monkey/infection_monkey/exploit/sshexec.py b/monkey/infection_monkey/exploit/sshexec.py index a8a585bed..4cbfd1e5c 100644 --- a/monkey/infection_monkey/exploit/sshexec.py +++ b/monkey/infection_monkey/exploit/sshexec.py @@ -125,7 +125,7 @@ class SSHExploiter(HostExploiter): self.exploit_result.exploitation_success = True except FailedExploitationError: self.exploit_result.error_message = "Exploiter SSHExploiter is giving up..." - logger.debug(self.exploit_result.error_message) + logger.error(self.exploit_result.error_message) return self.exploit_result if not self.host.os.get("type"): @@ -146,7 +146,7 @@ class SSHExploiter(HostExploiter): f"Error running uname os command on victim {self.host}: ({exc})" ) - logger.debug(self.exploit_result.error_message) + logger.error(self.exploit_result.error_message) return self.exploit_result if not self.host.os.get("machine"): @@ -168,7 +168,7 @@ class SSHExploiter(HostExploiter): f"Can't find suitable monkey executable for host {self.host}" ) - logger.info(self.exploit_result.error_message) + logger.error(self.exploit_result.error_message) return self.exploit_result try: