Table of Contents :: Connection Types (Input/Output Methods) :: Secure Shell (SSH) :: REXX ZocDeviceControl Command for SSH
ZOC Online Help Topic:
Secure Shell (SSH) → REXX ZocDeviceControl Command for SSH
ZocDeviceControl is a ZOC-REXX Command, which allows to perform functions that are specific to a communication method.
Available sub-commands for the ZocDeviceControl script command in relation to SSH are:
| RESOLV <hostname or ip> | |
Returns hostname and ip for the requested host in the form
"<primary hostname>; <ip>" (e.g.
SAY ZocDeviceControl("RESOLV mail.emtec.com") might
return www2.emtec.com; 212.34.172.147).
| |
| CONNECTEDTOIP | |
Returns the IP address of the host to which the SSH connection is actually connected. If no address is known, the result is N/A. | |
← Back to Secure Shell (SSH)