fix: Fix server stats login
This commit is contained in:
1 parent
29202c31fe
commit
0db24f4012
3 files changed
+422
-6
No files matched your search
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user