Back to product page

KeyExchangeList property


Determines list of key exchange algorithms supported and offered by wodSSHServer.

Type

A String value.

Syntax

  • Basic
object.KeyExchangeList [= value]    
The KeyExchangeList(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSHD.
valueList of comma-separated key exchange algorithms.

Remarks

KeyExchangeList property holds list of all supported and offered key exchange algorithms that can be used when client connects to the server. By default KeyExchangeList will contain this list

ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

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

Platforms

Windows