fixed #9955 - host key checking race

This commit is contained in:
Eugene 2024-09-23 09:42:52 +02:00
parent bc63068af5
commit 1c077147ac
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

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