wodSSHServer ActiveX Control - Protocol Property
      
 

Description

Determines which protocol is used.


Property type

A ProtocolsEnum enumeration.  Determines protocol to use for the server.


Syntax

object.Protocol [= value]



The Protocol Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSHD.
value A ProtocolsEnum enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 Raw 0 Raw protocol.
 Telnet 1 Telnet protocol
 SSH2 3 SSH2 protocol

Remarks

Since wodSSHServer can operate as Telnet and as SSH server, it means that you can connect to it using any telnet client, even one that is shipped with Windows. In this mode, no encryption is negotiated between the client and the server, and you can not transfer files using SFTP protocol.

This property determines what server you will choose to run - Telnet server (usually on port 23) or SSH server (usually on port 22). One instance of wodSSHServer can run only using one protocol. If you want to support more than one protocol, just create more instances of wodSSHServer - and start them.

NOTE: changing this property will internally change Port property to 22 (if you selected SSH) or to 23 (if you selected Telnet). If you want to use custom ports to run your server, please set Port after setting Protocol property!