
HP NonStop SSH Reference Manual
Configuring and Running SSH2
•
113
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.
%
Содержание NonStop SSH 544701-014
Страница 12: ...xii Contents HP NonStop SSH Reference Manual ...
Страница 24: ...24 Preface HP NonStop SSH Reference Manual ...
Страница 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Страница 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Страница 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Страница 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Страница 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Страница 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Страница 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...