SSHHost Property

The address of the SSH host.

Object Oriented Interface

public function getSSHHost();
public function setSSHHost($value);

Procedural Interface

ipworksssh_sshell_get($res, 21 );
ipworksssh_sshell_set($res, 21, $value );

Default Value

''

Remarks

The SSHHost property specifies the IP address (IP number in dotted internet format) or Domain Name of the remote host. It is set before a connection is attempted and cannot be changed once a connection is established.

If the SSHHost property is set to a Domain Name, a DNS request is initiated, and upon successful termination of the request, the SSHHost property is set to the corresponding address. If the search is not successful, an error is returned.

The SSHHost must be the same host that will be assumed for SSH as for the remote service being connected to.

Data Type

String

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 PHP Edition - Version 20.0 [Build 8501]