Xceed .NET Libraries Documentation
WaitForServerKeys Property (SSHClient)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SSHClient Class : WaitForServerKeys Property
Gets or sets a System.Boolean value that indicates whether, when connecting, the client should wait for the server to send its encryption keys.
Syntax
'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;}

Property Value

System.Boolean value that indicates whether, when connecting, the client should wait for the server to send its encryption keys. The default value is false.
Remarks

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.

Requirements

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

See Also

Reference

SSHClient Class
SSHClient Members