SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Using SSH Tectia Server for IBM z/OS >>
        Configuration Files>>
        Running the Server >>
            Starting the Server Manually under USS
            Running as a Started Task
            Starting the Server in Debug Mode
            Environment Variables for the Server
            Restarting the Server
        Setting Up a Shell User>>
        Running Client Programs>>
        Handling MVS Datasets and HFS File System Access>>
        Listing Datasets with SFTP Clients>>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Examples of Use >>
    Man Pages >>
    Log Messages >>

Starting the Server in Debug Mode

In order to start the server in debug mode, log on to USS as the SSHD2 user. Execute the command:

> /usr/lpp/ssh2/sbin/sshd2 -d 2

or

> /usr/lpp/ssh2/sbin/sshd2 -D 2

The debug level can be set with the -d or -D option. If -d is used, the server accepts only one connection. After that the connection to the server exits. With the -D option, the server keeps on listening the TCP port and spawns new task for each new connection. The server does not exit after the connections.

The debug level is either a number, or a comma-separated list of assignments of the format ModulePattern=debug_level, for example "*=10,sshd2=2".

If another server is already listening to the default port, use option -p to change the TCP port the server is listening to. For example:

> /usr/lpp/ssh2/sbin/sshd2 -D 2 -p 2222

This starts a server process that listens to port number 2222.

Debugging for the SFTP server subsystem can be controlled with the SSH_SFTP_DEBUG and SSH_SFTP_DEBUG_FILE environment variables. See Section File Transfer Environment Variables for more information.

Previous Next Up [Contents] [Index]


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

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