SSH Communications Security
Previous Next Up [Contents] [Index]

    About This Document>>
    Introduction to SSH Secure Shell >>
    Configuring SSH Secure Shell >>
    Authentication >>
    Log Messages >>
    Using SSH Secure Shell >>
        Using the Secure Shell Server Daemon (sshd2)>>
            Manually Starting the Secure Shell Server Daemon
            Automatically Starting the Server Daemon at Boot Time
            Operation of the Server Daemon
            Resetting and Stopping the Server Daemon
            Daemon Configuration File and Command-Line Options
            Subsystems
        Using the Secure Shell Client (ssh2)>>
        Using Secure Copy (scp2)
        Using Secure File Transfer (sftp2)
        Using Authentication Agent (ssh-agent2, ssh-add2)
    Tool Syntax>>
    Technical Specifications >>

Subsystems

Subsystems can be defined in the sshd2_config file using the following syntax.

subsystem-<name>      argument

The argument is the command which will be executed when the subsystem is requested.

$ ssh2 -s <name> user@remote  

The argument can be a list of commands separated with semicolon (;), or it can, for example, refer to a script.

One example of a subsystem is sftp.

subsystem-sftp      /usr/local/bin/sftp-server

The sftp subsystem also has an internal alternative. This should be used for example when the user is chrooted and does not have access to the sftp-server binary.

subsystem-sftp      internal://sftp-server 

Previous Next Up [Contents] [Index]


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

Copyright © 2003 SSH Communications Security Corp.
All rights reserved.
Copyright Notice