SmartFTP FTP Library
ISSHServerState Interface Reference

Encapsulates information about the remote SSH server's identity and environment. More...

import "sfFTPLib.idl";

Properties

SSHServerSoftware ServerSoftware [get]
 Identifies the specific SSH server software implementation.
OperatingSystem OperatingSystem [get]
 Estimates the operating system of the remote server.
BSTR RemoteId [get]
 Retrieves the raw identification string sent by the server.

Detailed Description

Encapsulates information about the remote SSH server's identity and environment.

Property Documentation

◆ OperatingSystem

OperatingSystem ISSHServerState::OperatingSystem
getproperty

Estimates the operating system of the remote server.

The component attempts to guess the underlying OS based on the identification string and specific protocol behaviors.

Note: * This is a heuristic (best guess). Many security-hardened servers intentionally hide their OS information to prevent targeting.

◆ RemoteId

BSTR ISSHServerState::RemoteId
getproperty

Retrieves the raw identification string sent by the server.

This is the exact string received during the Protocol Version Exchange (RFC 4253).

Format: SSH-2.0-<SoftwareVersion> <Comments>

Examples:

  • SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.5
  • SSH-2.0-Cisco-1.25

◆ ServerSoftware

SSHServerSoftware ISSHServerState::ServerSoftware
getproperty

Identifies the specific SSH server software implementation.

The component parses the server's identification string and maps it to a known vendor enum.


The documentation for this interface was generated from the following file: