Custom authentication error message

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Paroxizm
Posts: 5
Joined: Wed 27 May 2009 22:36

Custom authentication error message

Post by Paroxizm » Sun 22 Nov 2009 15:17

How can i send to SSHClient custom error message from SSH Server if connection not allowed.

For example, my ssh server for each connection checks userName, password and clientIP. How can i send error message to client in case of login/password is correct, but IP is blacklisted?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 23 Nov 2009 09:28

SSH protocol doesn't allow to send user's error message in authentication process. Moreover, it forbids to specify such messages, because it reduces security. The more information a violator knows, the easier it is for him to break-in.

Post Reply