Configuring A Service Menu; Configuring An Stn Service Or Window - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

The following SSHCOM commands show how to assign a PATHWAY PROGRAM as the initial program on a 6530
pseudo terminal:
>RUN SSHCOM $SSH01
T9000B03_02DEC2009_SSHCOM
OPEN $ssh01
% ALTER USER PW.USER, CI-PROGRAM $SYSTEM.SYSTEM.PATHCOM, &
% CI-COMMAND "$PMON; RUN PROGRAM LOGON-PROG"
OK, user PW.USER altered.
%

Configuring a Service Menu

STN can also display a service menu to 6530 clients connecting over SSH, allowing users to access a service mapped to
pre-configured static windows or to a service program started on the dynamic window. This feature allows the complete
migration of an existing Telnet access configuration to SSH.
The following SSHCOM commands show how the STN service menu can be enabled for 6530 pseudo terminals:
>RUN SSHCOM $SSH01
T9000B03_02DEC2009_SSHCOM
OPEN $ssh01
% ALTER USER SERVICE.USER, CI-PROGRAM *MENU*
OK, user SERVICE.USER altered.
%
For non-6530 pseudo terminals the STN service menu can be enabled via:
>RUN SSHCOM $SSH01
T9000B03_02DEC2009_SSHCOM
OPEN $ssh01
% ALTER USER SERVICE.USER, SHELL-PROGRAM *MENU*
OK, user SERVICE.USER altered.
%
Unless configured otherwise, STN will present TACL as the only available service. Additional services can be added
with STNCOM, using the ADD SERVICE and ADD WINDOW commands. Please refer to the "STNCOM Commands"
section for further details.

Configuring an STN Service or Window

A user can be enforced to use a pre-configured STN service or window. In this case STN will not display a service menu
but will directly give the user access to the pre-configured service or window. This feature allows pre-selection of items
defined in the STN service menu depending on the SSH user.
The following SSHCOM commands show how an STN service or window can be enabled for 6530 pseudo terminals:
>RUN SSHCOM $SSH01
T9000B03_02DEC2009_SSHCOM
OPEN $ssh01
% ALTER USER SERVICE.USER, CI-PROGRAM *MENU* srvc1
OK, user SERVICE.USER altered.
% ALTER USER WINDOW.USER, CI-PROGRAM *MENU* #win1
OK, user WINDOW.USER altered.
%
For non-6530 pseudo terminals the STN service or window can be enabled via:
>RUN SSHCOM $SSH01
T9000B03_02DEC2009_SSHCOM
OPEN $ssh01
% ALTER USER SERVICE.USER, SHELL-PROGRAM *MENU* srvc1
OK, user SERVICE.USER altered.
% ALTER USER WINDOW.USER, SHELL-PROGRAM *MENU* #win1
OK, user WINDOW.USER altered.
%
HP NonStop SSH Reference Manual
Configuring and Running SSH2 • 113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents