Your browser does not allow storing cookies. We recommend enabling them.

SSH

Setting the Debug Level

Setting the Debug Level in the Console

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 debuglevel

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

Setting the Debug Level in ISPF

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 Options field provided.

Trace level 2 provides user-oriented messages.

To disable server debug, set trace level number to 0.

Tectia SSH Assistant ISPF application - Turn trace on or off in the running SSH server (4.1.6 TSRVTR)

Figure 10.1. Tectia SSH Assistant ISPF application - Turn trace on or off in the running SSH server (4.1.6 TSRVTR)


 

 
PrivX
 

 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now