Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
Protocol property
Determines which protocol is used.
Type
A ProtocolsEnum enumeration. Determines protocol to use for the server.Syntax
- Basic
object.Protocol [= value]
The Protocol(object,value) syntax has these parts:
The Protocol(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSSHD. |
value | A ProtocolsEnum enumeration, as described in settings. |
Remarks
The settings for value are:
Constant | Value | Description |
---|---|---|
Raw | 0 | Raw protocol. |
Telnet | 1 | Telnet protocol |
SSH2 | 2 | SSH2 protocol |
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!