Back to product page

HostKeyList property


Holds list of host key algorithms offered to clients.

Type

A String value.

Syntax

  • Basic
object.HostKeyList [= value]
The HostKeyList(object,List of comma-separated encryption algorithms.) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPD.
List of comma-separated encryption algorithms.List of comma-separated host key algorithms.

Remarks

HostKeyList property holds list of all supported and offered ciphers that can be used when client connects to the server for host key signature. By default HostKeyList will contain the list of algorithms allowed to be used which is based on your selection of loaded keys. If you load only RSA keys, then this list will contact, as example,

ssh-rsa,rsa-sha2-256,rsa-sha2-512

but you can change it and remove or rearrange ciphers to suit your needs. Note, however, that order of supported ciphers is not important since client makes a choice. Removing them means wodFTPServer will not use them. Adding new ciphers on the list doesn't mean wodFTPServer will support them - they will be silently ignored if there's no internal host key signature support for them in wodFTPServer.

This property is available only after you call Start method of wodFTPServer. The reason is that at this point server actually loads keys you provided and checks what key is available. Trying to set it while server is not started will result with an error.

Platforms

Windows