Dev 1.1 #19

Merged
LukeGus merged 4 commits from dev-1.1 into main 2025-03-09 23:51:05 +00:00
Showing only changes of commit 1087a95103 - Show all commits
+10 -1
View File
@@ -23,7 +23,16 @@ io.on("connection", (socket) => {
return; return;
} }
console.log("Received hostConfig:", hostConfig); // Redact only sensitive info for logging
const safeHostConfig = {
ip: hostConfig.ip,
port: hostConfig.port,
user: hostConfig.user,
password: hostConfig.password ? '***REDACTED***' : undefined,
rsaKey: hostConfig.rsaKey ? '***REDACTED***' : undefined,
};
console.log("Received hostConfig:", safeHostConfig);
const { ip, port, user, password, rsaKey } = hostConfig; const { ip, port, user, password, rsaKey } = hostConfig;
const conn = new SSHClient(); const conn = new SSHClient();