Hello,
As I understand the unique way to know what went wrong when connecting from the SSH client is to catch exceptions thrown. The information is stored as an English string in the Message property.
What is the list of possible exceptions thrown ? (looks like it is only an Exception based class so not a derived class that would had some customization).
My need would be to have more specific information when authentication fails than just the "Authentication failed" string. Our SSH server validates the user with a third party (a Radius server) and we'd like to give more feedback to the user on why it failed (such as Radius server unreachable, ).
That might be a restriction of the implementation of the SSH protocol, which I would understand, but I would like to be sure.
PS: password authentication is used for connecting.
Exceptions thrown on TScSSHClient::Connect
Re: Exceptions thrown on TScSSHClient::Connect
Thank you for your advice.
Currently, TScSSHClient doesn't provide such functionality, but we will support it in the next SecureBridge build.
Currently, TScSSHClient doesn't provide such functionality, but we will support it in the next SecureBridge build.
Re: Exceptions thrown on TScSSHClient::Connect
As described in this topic http://forums.devart.com/viewtopic.php?f=27&t=30043
it is the Authentication Response frame that needs to be accessible.
it is the Authentication Response frame that needs to be accessible.