Back to product page

RemoteIdentification property


Holds the remote identification string.

Type

A String value. Identification string provided by the server.

Syntax

  • Basic
object.RemoteIdentification
The RemoteIdentification(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.

Remarks

Once an initial connection is established with the server, the SSH protocol specifies that both parties should exchange version information. This information includes server/client type, and version supported. Typically this would be something like:

     SSH-1.99-OpenSSH_2.9p2

which means that the server does support SSH protocol versions SSH1 and SSH2, and server type if OpenSSH_2.9p2. Other values can apply here too. The important thing is the first part of the string,

     SSH-1.99

1.99 means that the server supports both SSH1 and SSH2 protocols. If only SSH1 is supported, then the server would reply with SSH-1.5 (usually), and if just SSH2 is supported it would reply with SSH-2.0 (usually).

Reading the RemoteIdentification property does not affect wodSSH's behavior - but helps you to determine the type of remote server.

Platforms

Windows