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