Przeglądaj źródła

fixed #9955 - host key checking race

Eugene 1 rok temu
rodzic
commit
1c077147ac
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      tabby-ssh/src/session/ssh.ts

+ 1 - 0
tabby-ssh/src/session/ssh.ts

@@ -333,6 +333,7 @@ export class SSHSession {
                 algorithms,
                 authHandler: (methodsLeft, partialSuccess, callback) => {
                     this.zone.run(async () => {
+                        await hostVerifiedPromise
                         callback(await this.handleAuth(methodsLeft))
                     })
                 },