Prompt "<Text; Resolve Host-Name; Rollover Auditfile - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

INFO DEFINE { ALL | <define-name> }
Especially the TCP/IP defines are relevant because the SSH2 process directly communicates with a TCP/IP process and
not the SSH[OSS]/SFTP[OSS] clients themselves.
When ALL is specified, all defines in the SSH2 process context are displayed; otherwise the information is displayed for
the specified <define-name>.
PROMPT "<text>"
This command redefines the prompt sent to the terminal for new command input.
<text> may contain any displayable character except quote ("), and may be 1 to 64 characters long. Certain embedded
commands (case independent) in <text> are replaced as follows:
$P – the target process name
$X – the target expand node name
$T – target system LCT time in format HH:MM
$D – target system LCT date in format yyyy/mm/dd
Example:
PROMPT "$X.$P $D $T STN> "
\DEV.$STN2 2010/08/06 23:59 STN>
PROMPT "$T $P> "
23:59 $STN2>
The default setting is PROMPT "% "
The PROMPT command remains in effect until SSHCOM terminates.

RESOLVE HOST-NAME

This command can be used to test the TCP/IP host name resolving. It has the following syntax:
RESOLVE HOST-NAME <host-name>
The value for <host-name> must be a name known to a DNS server or configured in a HOSTS file. Output will look like:
OK, host name 'hostv4' resolved to 10.20.0.210
or, for IPv6 address:
OK, host name 'hostv6' resolved to fe80::250:56ff:fea7:4bdc (formatted last 4 bytes as dotted
quad: fe80::250:56ff:254.167.75.220)
The TCP/IP defines in the context of the SSH2 process are relevant for host name resolving, not those in the context of
SSH client processes. Please see SSHCOM command INFO DEFINE.

ROLLOVER AUDITFILE

This command can be used to force a rollover of the configured audit file. The current audit file will be renamed to an
audit archive file and a new audit file is opened if the AUDITFILE parameter is not set to * and the parameter
AUDITFILERETENTION is set to a non-zero value. The command has the following syntax:
ROLLOVER AUDITFILE
The ROLLOVER command can only be executed by super.super (unless explicitly denied in OBJECTTYPE USER
record) or a user granted full SSHCOM access.
HP NonStop SSH Reference Manual
SSHCOM Command Reference • 143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents