mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
fixed #250
This commit is contained in:
parent
fa4c59e3c0
commit
892b18df4d
@ -91,7 +91,9 @@ export class SSHService {
|
|||||||
await new Promise((resolve, reject) => {
|
await new Promise((resolve, reject) => {
|
||||||
ssh.on('ready', () => {
|
ssh.on('ready', () => {
|
||||||
connected = true
|
connected = true
|
||||||
|
if (savedPassword) {
|
||||||
this.savePassword(connection, savedPassword)
|
this.savePassword(connection, savedPassword)
|
||||||
|
}
|
||||||
this.zone.run(resolve)
|
this.zone.run(resolve)
|
||||||
})
|
})
|
||||||
ssh.on('error', error => {
|
ssh.on('error', error => {
|
||||||
|
Loading…
Reference in New Issue
Block a user