SSHKeyExchangeAlgorithms Property
A comma-separated list containing all allowable key exchange algorithms.
Object Oriented Interface
public function getSSHKeyExchangeAlgorithms(); public function setSSHKeyExchangeAlgorithms($value);
Procedural Interface
ipworksssh_psclient_get($res, 29 ); ipworksssh_psclient_set($res, 29, $value );
Default Value
'diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1'
Remarks
SSH allows different algorithms to be negotiated for use when establishing the security layer of the connection. SSHKeyExchangeAlgorithms controls the key-exchange algorithm list supplied by the class to the SSHHost. It is a comma-separated list containing the names of key-exchange algorithms as defined by section 6.5 of the SSH Transport Layer specification (RFC 4253). The Key-exchange algorithms specified in RFC 4419 are also supported.
The value of this property must be a comma-separated list containing one or more of the following values:
- diffie-hellman-group1-sha1
- diffie-hellman-group14-sha1
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group-exchange-sha1
Data Type
String