SSH Reference Manual

SET
The SET command allows you to change some configuration parameters during runtime. Currently the following
parameters are supported:
Parameter Meaning
AUDITCONSOLE Determines whether audit messages are written to the console.
AUDITEMS Determines whether audit messages are written to EMS.
AUDITFILE Determines whether audit messages are written to a file.
AUDITFORMATCONSOLE Controls the format of the audit messages that are written to the console.
AUDITFORMATEMS Controls the format of the audit messages that are written to EMS.
AUDITFORMATFILE Controls the format of the audit messages that are written to a file.
LOGCACHEDUMPONABORT Determines if the internal log cache is written to the log file in case of process aborting.
LOGCACHESIZE Determines the size of the internal log cache.
LOGCONSOLE Determines whether log messages are written to a console.
LOGEMS Determines whether log messages are written to EMS.
LOGFILE Determines whether log messages are written to a file.
LOGFORMATCONSOLE Controls the format of the log messages that are written to the console.
LOGFORMATFILE Controls the format of the log messages that are written to a file.
LOGFORMATEMS Controls the format of the log messages that are written to EMS.
LOGLEVELCACHE Determines whether log messages are written to the internal log cache.
LOGLEVELCONSOLE Determines which messages will be written to the console.
LOGLEVELFILE Determines which messages will be written to the log file.
LOGLEVELEMS Determines which messages will be written to EMS.
Please see the chapter "Monitoring and Auditing", section "Destinations for Log Messages" for a description of those
parameters. The following screenshot shows how the LOGLEVELFILE is changed to 70 using the SET command:
$QAHPSSH T0801ABK 29> run sshcom $ssh01
SSHCOM T0801H01_22JAN2014_ABK - 2014-01-24 14:42:45.368
OPEN $ssh01
% set loglevelfile 70
set loglevelfile 70
OK, LOGLEVELFILE set to 70
%
INFO SSH2
The INFO SSH2 command will display the startup configuration as well as the current settings of all parameters that can
be changed using the SET command. The following screenshot shows the output of the INFO SSH2 command, after
changing the LOGLEVELFILE with the command shown above (example):
% info ssh2
info ssh2
-----------------------------------------------------------
SSH2 version T9999H06_22Jan2014_comForte_SSH2_0097
-----------------------------------------------------------
Startup configuration:
[file ] * <log configuration>
[def ] ALLOWEDAUTHENTICATIONS <keyboard-interactive,password,publickey>
[file ] ALLOWEDSUBSYSTEMS <sftp,tacl>
[def ] ALLOWFROZENSYSTEMUSER <FALSE>
[def ] ALLOWINFOSSH2 <ALL>
HP NonStop SSH Reference Manual SSHCOM Command Reference 161