made libssh::ssh_connect a non-blocking feature
- extended error handling when connecting via ssh
This commit is contained in:
parent
c3f39ad24d
commit
cd3263db50
10 changed files with 54 additions and 34 deletions
|
|
@ -24,6 +24,7 @@ QString errorString(ErrorCode code){
|
|||
case(SshInternalError): return QObject::tr("Ssh internal error");
|
||||
case(SshPrivateKeyError): return QObject::tr("Invalid private key or invalid passphrase entered");
|
||||
case(SshPrivateKeyFormatError): return QObject::tr("The selected private key format is not supported, use openssh ED25519 key types or PEM key types");
|
||||
case(SshTimeoutError): return QObject::tr("Timeout connecting to server");
|
||||
|
||||
// Libssh sftp errors
|
||||
case(SshSftpEofError): return QObject::tr("Sftp error: End-of-file encountered");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue