Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.Versions

TElSSHCustomForwarding     See also     


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


This property specifies SSH versions which can be used during the connection

Declaration

[C#/Java]
    TSSHVersions Versions;

[VB.NET]
    Property Versions As TSSHVersions

[Pascal]
    property Versions : TSSHVersions;
    TSSHVersions = set of TSSHVersion;

[C++]
    TSSHVersions get_Versions();
    void set_Versions(TSSHVersions Value);

[PHP]
    integer get_Versions()
    void set_Versions(integer $Value)

Values:


TSSHVersions values

Description

    Set this property before calling the Open method. It should contain the set of SSH versions which can be used during the secure connection.

    Note, SSHv1 is vulnerable to the man-in-the-middle attack, so it must be used very carefully. We recommend you to use SSHv2 protocol if REALLY secure connection is required.

    Note, Protocol version setting differs for VCL and .NET versions. To enable several SSH versions in .NET use bitwise OR operation, for example "sbSSH1 | sbSSH2".

    Example:  The following shows how to set the property for different SecureBlackbox editions:

[C#/Java]
    TElSSHCustomForwarding.Versions = SBSSHCommon.Unit.sbSSH1 | SBSSHCommon.Unit.sbSSH2

[VB.NET]
    TElSSHCustomForwarding.Versions = SBSSHCommon.Unit.sbSSH1 Or SBSSHCommon.Unit.sbSSH2

[Pascal]
    TElSSHCustomForwarding.Versions = sbSSH1 Or sbSSH2

See also:     Version    

Discuss this help topic in SecureBlackbox Forum