wodSSH ActiveX Control - CryptoInformation Event
    
 

Description

Fires when wodSSH provides information about the selected algorithm.


Syntax

Private Sub object_CryptoInformation(Protocol, RemoteName, SCcipher, CScipher, Keys, Accept)



The CryptoInformation Event syntax has these parts:

Part Description
object A wodSSH object.
Protocol A String value. Specifies the selected protocol (SSH1 or SSH2).
RemoteName A String value. Holds the remote identification string.
SCcipher A String value. Holds the server to client encryption algorithm selected.
CScipher A String value. Holds the client to server encryption algorithm selected.
Keys A String value. Holds the key exchange protocol selected.
Accept A Boolean value. When set to False, wodSSH aborts connection.

Remarks

The CryptoInformation event is fired after the first crypto negotiation has taken place, but before any sensitive information is sent to the server (such as username or password). This event provides you with information about the selected encryption protocols and the remote server type.

At this point you can decide whether to continue with the connection or abort it the (by setting Accept parameter to False) in which case wodSSH will drop the connection.