'Declaration Public Property WaitForServerKeys As Boolean
'Usage Dim instance As SSHClient Dim value As Boolean instance.WaitForServerKeys = value value = instance.WaitForServerKeys
public bool WaitForServerKeys {get; set;}
'Declaration Public Property WaitForServerKeys As Boolean
'Usage Dim 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2