added error handling for key authentication

This commit is contained in:
vladimir.kuznetsov 2023-04-05 09:45:03 +03:00
parent b3456ee96c
commit ccfc9f2ad2
3 changed files with 14 additions and 8 deletions

View file

@ -35,7 +35,7 @@ enum ErrorCode
// Ssh connection errors
SshRequsetDeniedError, SshInterruptedError, SshInternalError,
SshPrivateKeyError,
SshPrivateKeyError, SshPrivateKeyFormatError,
// Ssh sftp errors
SshSftpEofError, SshSftpNoSuchFileError, SshSftpPermissionDeniedError,