diff --git a/tabby-ssh/src/session/ssh.ts b/tabby-ssh/src/session/ssh.ts index 815a195497..bd4952bcec 100644 --- a/tabby-ssh/src/session/ssh.ts +++ b/tabby-ssh/src/session/ssh.ts @@ -514,7 +514,7 @@ export class SSHSession { continue } } - if (method.type === 'publickey' && method.contents) { + if (method.type === 'publickey') { try { const key = await this.loadPrivateKey(method.name, method.contents) const result = await this.ssh.authenticateWithKeyPair(this.authUsername, key)