This method is called only if you implemented
IwodSSHNotify interface in your application, and
wodSSHD.Notification
property has received reference to instance of your
implementation.
LoginPubkey notification method is called when the
client connects and tries to authenticate with the server.
Since wodSSHServer does not have or keep any kind of
database about users, you should test login and publickey
to determine if you will allow client to connect or not.
Typically, you will check this information against some
database or file, and set Action
variable to Allow - if access is allowed, or
Deny - if access is NOT allowed. Make sure you
also read about LoginPassword
notification method that is called when user provides
password instead of public key.
When client provides public key, wodSSHServer will check
if signature that client provided matches his public key
(which he provided in this connection). This may be
security leak - he provides public key, he provides
signature. Well - at this point LoginPubkey notification
method is called so you can check if his public key matches
one you have in your database (or some locally stored
file). If public key is known - let user in.