SSH Reference Manual
correctly configured and the define =TCPIP^HOST^FILE is set to the default value. A warning is logged in this case 
("Disabling incorrectly configured DNS resolving"). 
A new define =SSH2^PROCESS^NAME will be created and propagated. It contains the name of the SSH2 process, 
which started the TACL or shell process. The SSH clients (objects SSH, SSHOSS, SFTP and SFTPOSS) make use of 
this define to look up the SSH2 server process before the CPU dependent lookup using SSH2PREFIX is tried. Those 
SSH clients running within a shell started by an SSH2 server process no longer require specifying the SSH2 server 
process via the -S flag. 
Defines may have unwanted influence on the processing of started processes, e.g. if a TCP/IP application is started that 
needs to use different DEFINE settings. 
If defines should not be forwarded to processes started by the SSH2 process, then parameter PROPAGATEDEFINES
can be set to FALSE and the forwarding of defines will be suppressed (default is TRUE). The define =_DEFAULTS is 
always propagated to new processes, independent of the setting for SSH2 parameter 
PROPAGATEDEFINES. 
Setting of PARAMs 
SSH2 may create the following PARAMs when starting a TACL:  
SSH-ORIGINAL-COMMAND 
The command that was specified in an exec request. This can be different to the actually executed command, in case a 
“forced command” is defined (USER attribute CI-COMMAND). 
Setting of Environment Variables 
SSH2 creates the following environment variables when starting a shell: 
SSH_CONNECTION 
This environment variable contains host and port information, each separated by a space character: 
<remote address> <remote port> <local address> <local port> 
 Example: 
SSH_CONNECTION=10.0.0.12 40719 10.0.0.196 22 
SSH_CLIENT 
This environment variable contains remote host/port and local port information, each separated by a space character: 
<remote address> <remote port> <local port> 
Example: 
SSH_CLIENT=10.0.0.12 40719 22 
TERM 
This environment variable holds the terminal type. 
Example: 
TERM=xterm 
LOGNAME 
The user name as received from a remote client (the name of a user defined in SSHCTL). 
Example: 
HP NonStop SSH Reference Manual  Configuring and Running SSH2 • 137 










