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

SSH Tectia

Starting SSH Tectia Server in Debug Mode on Unix

To start SSH Tectia Server in debug mode, follow these instructions:

  1. Stop the server, if it is currently running. Use the start-stop script described in Starting and Stopping the Server:

  2. Start the server executable by entering the following command with root privileges:

    # /opt/tectia/sbin/ssh-server-g3 -D<filter>

    In the command:

    • filter is an expression that takes the following syntax: "module=level,module=level,...". In case you define a filter with several modules, list the modules in increasing levels of detail (highest level last).

    • module is an optional expression. It can be used to restrict the debug output to only a particular module or to allow the use of varying debug levels for different modules.

    • level is an integer from 0 (no debug info) to 99 that specifies the desired amount of debug information.

      Note that levels 1-9 are the recommended debug levels. The higher the number, the more detailed the troubleshooting output will be, and the more the debugging will affect performance.

    The following example command starts the server with a global debug level 4 and outputs the debug information to the screen:

    # /opt/tectia/sbin/ssh-server-g3 -D4

    The following example command starts the server listening on port 777, using only 1 servant process, and using filters to display level 2 output from everything else, but level 4 output from modules starting with "SecShServer". The debug output is redirected to file server.log.

    # /opt/tectia/sbin/ssh-server-g3 -l 777 -n 1 -D"2,SecShServer*=4" 2>&1 \ 
    >server.log &

    To view all options available for ssh-server-g3, enter the following command:

    # ssh-server-g3 -h




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