Discuss this help topic in SecureBlackbox Forum

TElIdSSHServerIOHandler.OnAuthHostbased

TElIdSSHServerIOHandler     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when client requested hostbased-authentication.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    property OnAuthHostbased: TSSHAuthHostbasedEvent;
    TSSHAuthHostbasedEvent = procedure(Sender : TObject; const Username : string; const ClientUsername : string; const ClientHostname : string; Key: TElSSHKey; var Accept : boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Username - the name of the client being authenticated
  • ClientUsername - the name of the client at the ClientHostname host
  • ClientHostname - the name of some host
  • Key - key
  • Accept - set this parameter to True to allow authentication.

Description

    Hostbased-authentication is based on "RHOSTS" authentication that is usual for Unix, using key, name of other host and client name on that host. This event gives you the key to check. The handler have to check by correspondence list that the key corresponds user Username who has account ClientUsername on ClientHostname server.

See also:     OnAuthPassword     OnAuthPublicKey    

Discuss this help topic in SecureBlackbox Forum