fix: Fix server stats login

This commit is contained in:
LukeGus
2025-10-17 22:33:12 -05:00
parent 29202c31fe
commit 0db24f4012
3 changed files with 422 additions and 6 deletions

View File

@@ -577,7 +577,7 @@ function buildSshConfig(host: SSHHostWithCredentials): ConnectConfig {
if (!host.password) {
throw new Error(`No password available for host ${host.ip}`);
}
// Don't set password in config - let keyboard-interactive handle it
base.password = host.password;
} else if (host.authType === "key") {
if (!host.key) {
throw new Error(`No SSH key available for host ${host.ip}`);