fix: remove keyType reference from decryptForConnection return type
This commit is contained in:
parent
93811b59cb
commit
795e8646df
@ -136,7 +136,7 @@ export class SshConnectionService {
|
|||||||
if (cred.sshKey.passphrase) {
|
if (cred.sshKey.passphrase) {
|
||||||
connectConfig.passphrase = cred.sshKey.passphrase;
|
connectConfig.passphrase = cred.sshKey.passphrase;
|
||||||
}
|
}
|
||||||
this.logger.log(`[SSH] Using SSH key auth (type: ${cred.sshKey.keyType || 'unknown'})`);
|
this.logger.log(`[SSH] Using SSH key auth`);
|
||||||
} else if (cred?.password) {
|
} else if (cred?.password) {
|
||||||
connectConfig.password = cred.password;
|
connectConfig.password = cred.password;
|
||||||
this.logger.log(`[SSH] Using password auth for hostId=${hostId}`);
|
this.logger.log(`[SSH] Using password auth for hostId=${hostId}`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user