'DeclarationPublic Property WaitForServerKeys As Boolean
'UsageDim instance As SSHClient Dim value As Boolean instance.WaitForServerKeys = value value = instance.WaitForServerKeys
public bool WaitForServerKeys {get; set;}
'DeclarationPublic Property WaitForServerKeys As Boolean
'UsageDim instance As SSHClient Dim value As Boolean instance.WaitForServerKeys = value value = instance.WaitForServerKeys
public bool WaitForServerKeys {get; set;}
When set to true, during connection, the client's key exchange process will wait until we receive the NewKeys packet before returning. This insures no other packet will be sent until the server has sent its keys.
This property offers a solution to some finicky servers that lose synchronization if we send packets after new keys before they send their key.
The SSH transport specification clearly says that once the client send its new keys, it can send other packets. But some old bank servers servers don't seem to support this. Modern mainstream servers don't have this issue.
This property should be left to its default value unless an application has a specific issue connecting to servers.