1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-29 09:18:26 +03:00

Fix SSH X11 Repeated Handshake Issue

This commit is contained in:
cfs4819 2024-03-22 14:57:28 +08:00
parent 09ddd1f8b5
commit 31e35541ce

View File

@ -205,7 +205,7 @@ export class SSHSession {
}
const hostVerifiedPromise: Promise<void> = new Promise((resolve, reject) => {
let hostkey_old: string | undefined
let hostkey_old: string = ''
let isKeyVerified: boolean = false
ssh.on('handshake', async handshake => {
if (isKeyVerified) {