SSH Reference Manual
Configuring an Alternate Command Interpreter 
TACL is the default command interpreter that SSH2 starts on a 6530 pseudo terminal. You can use the CI-PROGRAM 
and CI-COMMAND attributes to assign a different program as the 6530 command interpreter. For example, you can use 
PATHCOM to run a PATHWAY PROGRAM directly on the pseudo 6530 terminal. 
The following SSHCOM commands show how to assign a PATHWAY PROGRAM as the initial program on a 6530 
pseudo terminal: 
>RUN SSHCOM $SSH01 
SSHCOM T0801H01_22JAN2014_ABK - 2014-01-24 14:42:45.368 
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 
SSHCOM T0801H01_22JAN2014_ABK - 2014-01-24 14:42:45.368 
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 
SSHCOM T0801H01_22JAN2014_ABK - 2014-01-24 14:42:45.368 
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 
HP NonStop SSH Reference Manual  Configuring and Running SSH2 • 127 










