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,..."

    • 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 a filter to display level 4 output from modules starting with "SecShServer" and level 2 for everything else. The debug output is redirected to file server.log.

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

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

    # ssh-server-g3 -h