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

SSH Tectia 
PreviousNextUp[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.

PreviousNextUp[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


 

 
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