Skip to content

Commit

Permalink
fixed #9955 - host key checking race
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Sep 23, 2024
1 parent bc63068 commit 1c07714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tabby-ssh/src/session/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ export class SSHSession {
algorithms,
authHandler: (methodsLeft, partialSuccess, callback) => {
this.zone.run(async () => {
await hostVerifiedPromise
callback(await this.handleAuth(methodsLeft))
})
},
Expand Down

0 comments on commit 1c07714

Please sign in to comment.