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

SSH Tectia 
PreviousNextUp[Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server >>
    Getting Started >>
    Configuration >>
    Authentication >>
    Application Tunneling >>
    Troubleshooting
        Debug Mode
    Man Pages
    Advanced Options >>
    Log Messages >>

Debug Mode

When run in debug mode, SSH Tectia Server outputs useful troubleshooting information to stderr. To run the server in the debug mode, do the following steps:

  1. Stop the server by issuing a signal to it:
    # kill `cat /var/run/sshd2_22.pid`
    
    or, if the directory /var/run/ does not exist, use:
    # kill -kill `cat /etc/ssh2/sshd2_22.pid`
    
  2. Start the server in the debug mode by using the following command:
    # /usr/local/sbin/sshd2 -d<filter>
    
    This should be the first argument on the command line. The syntax of the filter is as follows:
    "module=level,module=level,..."
    
    Module is the wanted software module (ssh2sftp, for example) and level is the wanted debug level (a number from 0 to 10). Debug level 10 shows all available information, level 0 shows nothing. For example, the following command shows level 4 for all and level 10 for the SFTP server:
    # /usr/local/sbin/sshd2 -d"*=4,Ssh2Sftp*=10" 
    
    The debug information can be also directed to a file:
    # /usr/local/sbin/sshd2 -d"*=4,Ssh2Sftp*=10" > debugfile.txt
    
    For more information on the command-line options, see the sshd2 man page.
  3. Connect to the server with a Secure Shell client. The client should also be run in the debug mode.

PreviousNextUp[Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2010 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more