SSH Reference Manual
•  a.*.*.* 
a.b.*.* 
a.b.c.* 
This form specifies the first 1, 2, or 3 bytes of an IP address which must match, with the remaining 3, 2, or 1 
byte(s), respectively, allowed to have any value. 
192.*.*.* 
matches only 192.0.0.0 through 192.255.255.255 
192.7.*.* 
matches only 192.7.0.0 through 192.7.255.255 
161.114.87.* 
matches only 161.114.87.0 through 161.114.87.255 
•  a.b.c.d-e.f.g.h 
This form defines two specific IP addresses; the first must be numerically less than or equal to the second. 
192.1.2.3-192.1.2.6 
192.1.0.0-192.21.255.255 
ADD IPRANGE command may be done before or after ADD SERVICE commands referring to the IPRANGE 
ADD SCRIPT 
ADD SCRIPT <script-name> function,p1,p2 function,p1,p2 … 
A script is a series of setmode commands which is automatically performed at the beginning of a session and also after 
an application call to setmode 28. A script can be referenced by ADD SERVICE and ADD WINDOW commands. ADD 
SCRIPT and ADD SERVICE/WINDOW may be performed in any order, although the script must be defined before a 
session attempts to use it. 
Example script to turn off echo and turn off automatic LF on CR: 
ADD SCRIPT NOECHO 20,0 7,0 
ADD SERVICE S123,SCRIPT NOECHO … 
ADD SERVICE 
The ADD SERVICE command defines a new service for STATIC and DYNAMIC window sessions. The service will be 
available to sessions on any LISTENER, as well as on SSH pseudo TTYs, if the CI-COMMAND *MENU* is set for the 
user as follows: 
ADD SERVICE service-name 
 ,TYPE DYNAMIC | STATIC 
 ,PROG program-file-name 
 ,CPU (cpunum | cpunum-cpunum | ANY) 
 ,PRI priority 
 ,TERM_TYPE TN6530 | ANSI | ANY 
 ,MODE BLOCK | CONV 
 ,MENU HIDDEN | VISIBLE 
 ,LIB lib-file-name 
 ,SWAP $volume-name 
 ,USER (groupnum,usernum) | groupname.username 
HP NonStop SSH Reference Manual  STN Reference • 251 










