|
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:
- 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`
- 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.
- Connect to the server with a Secure Shell client. The client should also be run in the debug mode.
[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
|
|
|