![HP NonStop SSH 544701-014 Скачать руководство пользователя страница 122](http://html.mh-extra.com/html/hp/nonstop-ssh-544701-014/nonstop-ssh-544701-014_reference-manual_165151122.webp)
122
•
Configuring and Running SSH2
HP NonStop SSH Reference Manual
it may be better to configure a generic SSH process in each CPU that would be restarted automatically when a
CPU comes up after a failure.
Processing of DEFINEs
SSH2 has been enhanced to propagate almost all defines found in the SSH2 process context to TACL and shell processes
started by SSH2 directly. Exceptions are:
The =_DEFAULTS DEFINE is set from the Guardian user configuration.
In case parameters PTCPIPFILTERKEY, TCPIPHOSTFILE, TCPIPNODEFILE or TCPIPRESOLVERNAME were
specified the corresponding defines propagated contain the values taken from these parameters, i.e. the defines in SSH2
process context will be overwritten.
If define =TCPIP^PROCESS^NAME exists in the process context it will be propagated and the SUBNET parameter
value will be ignored (see parameter SUBNET). If define =TCPIP^PROCESS^NAME does not exist in the process
context the SUBNET parameter value will be used to create a define =TCPIP^PROCESS^NAME and it will be
propagated to newly started TACL and shell processes.
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.
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:
Содержание 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 ...