Status Commands; Status Ssh2; Status Session - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

Status Commands

The current parameter configuration of the SSH2 process can be viewed via commands INFO SSH2 and INFO DEFINE.
The configuration of the SSHCTL database entities like USERs, KNOWNHOSTs, etc. can be listed via INFO USER,
INFO KNOWNHOSTs, etc.. There are other entities in the SSH2 process that are of interest, especially the entities
defined by the SSH protocol, namely sessions and channels. For displaying status data about the SSH2 process, sessions,
and channels a set of STATUS commands exists in mode DAEMON:
Status Commands:
STATUS SSH2: displays SSH2 process status information .
o
STATUS SESSION: displays SSH session information.
o
STATUS CHANNEL: displays SSH channel information.
o
STATUS OPENER: displays information about processes that have opened the SSH2 process.
o

STATUS SSH2

Status information about the SSH2 process will be displayed. The command has the following syntax:
STATUS SSH2
The individual command options have the following meaning and syntax:
DETAIL
If the DETAIL flag is set, detailed information is displayed.
WIDTH
The number <width> is the maximum number of characters per output line. If WIDTH is not specified the default value
80 is assumed. In order to avoid a new line when the terminal is configured with line wrapping on, the line will only be
filled with one character less than the specified width.
RECURSIVE
This attribute controls if the sessions, channels and opener are displayed as well. A hierarchy is assumed with SSH2 at
the top, sessions below and channels below sessions. Openers are displayed below SSH2 as well, when RECURSIVE is
specified.
LOG-ONLY
Normally the output of the STATUS command will be displayed at the terminal the SSHCOM was started. With LOG-
ONLY flag set, the output will be written to the log file, if logging to a file is enabled.
SELECT
The SELECT option allows defining a specific set of attributes that will be displayed instead of the default attribute set
(there are two default sets, one for detailed output and one for non-detailed output). An attribute name specified for
<attr> must be one of the names displayed in the detailed status output.

STATUS SESSION

Status information about the currently existing ssh sessions in the SSH2 process will be displayed. The command has the
following syntax:
HP NonStop SSH Reference Manual
[,DETAIL]
[,WIDTH <width>]
[,RECURSIVE]
[,LOG-ONLY]
[,SELECT ( [<attr>] [, <attr>] ... ) ]
SSHCOM Command Reference • 185

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents