mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-25 19:42:42 +03:00
show ssh connection errors
This commit is contained in:
parent
deb99b0865
commit
bcb6963c35
@ -117,6 +117,7 @@ export class SSHService {
|
||||
agent = process.env.SSH_AUTH_SOCK
|
||||
}
|
||||
|
||||
try {
|
||||
ssh.connect({
|
||||
host: connection.host,
|
||||
port: connection.port || 22,
|
||||
@ -131,6 +132,9 @@ export class SSHService {
|
||||
keepaliveCountMax: connection.keepaliveCountMax,
|
||||
readyTimeout: connection.readyTimeout,
|
||||
})
|
||||
} catch (e) {
|
||||
this.toastr.error(e.message)
|
||||
}
|
||||
|
||||
let keychainPasswordUsed = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user