When sshd2 is run as a started task, the debug level of the running server can be set using the z/OS console modify command debug.
To set the debug level of the running server, issue the following command (where
debuglevel is a number from 1 to 99 indicating the level of
diagnostics information required) from the z/OS console:
===> F SSHD2,DEBUG
For example, to set debug level 4 (which is in most cases sufficient):
===> F SSHD2,DEBUG 4
To disable server debug, set debug level to 0 as follows:
===> F SSHD2,DEBUG 0
To set the debug level of the server in ISPF, enter the Tectia SSH Assistant option 4.1.6 TSRVTR (Turn trace on or off in the running SSH server).
The trace level is a number which directs the server to produce diagnostic trace
information on restart. Enter a trace level number in the
Trace level 2 provides user-oriented messages.
To disable server debug, set trace level number to 0.