HP NonStop SSH Reference Manual STN Reference • 231
Example configuration:
ADD SERVICE RESTACL,TYPE DYNAMIC
,RESILIENT YES
,PROGRAM $SYSTEM.SYSTEM.TACL
,MENU HIDDEN
,USER SUPER.SUPER
,PRI 199
,LIMIT 3
Explanation of example settings:
MENU HIDDEN - this service is for use only by system administrators and only in case of emergency. General
users won't see the service on the STN02 Services menu, avoiding confusion and minimizing undesired access
attempts.
USER SUPER.SUPER - keeps unauthorized users away from this service, minimizes denial of service.
PRI 199 - high priority is sometimes essential for systems maintenance tasks, such as stopping a looping
application.
LIMIT 3 - While only one window might be enough, allows extras "just in case".
LOGON REQ - (automatically set with RESILIENT YES) protects reconnection to previous sessions, and
minimizes denial of service.
See INPUT_TIMEOUT for additional security that may be appropriate for resilient services.
ADD WINDOW
The ADD WINDOW command defines the file system access points that application programs are to use to exchange
data with the remote terminal sessions. Prior to SPR T0801^ABE, ADD WINDOW was performed automatically for
dynamic sessions when AUTO_ADD_WIN was enabled and an application open request was received for an undefined
window. The AUTO_ADD_WIN configuration parameter is no longer supported. All openers of STN must refer to an
existing window name.
ADD WINDOW #window-name
,TYPE DYNAMIC | STATIC | SU | DEDICATED
,TERM_TYPE TN6530 | ANSI | ANY
,SERVICE service-name
,IPADDR dotted-ip-address
,SUBTYPE nn | NONE
,SCRIPT script-name
#window-name
This name uniquely identifies the window and, together with the $STN process name, is used by applications to
exchange data with the remote terminal session. The name must be 2 to 8 characters long beginning with a pound sign
(#) followed by a letter and optionally followed by letters or numbers. All letters are shifted to upper case.
When a window is automatically added for a dynamic session, a unique window name using the format #ZWNxxxx is
generated, where xxxx is a unique number starting at 0000.
TYPE DYNAMIC
Normally used only internally by the dynamic window mechanism. SERVICE and TERM_TYPE are required, and
IPADDR is not allowed. The window will be automatically deleted when the session terminates.