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

    About This Document>>
    Introduction to SSH Secure Shell >>
    Configuring SSH Secure Shell >>
        Basic Configuration>>
            Default Locations of Secure Shell Files
            Generating the Host Key
            Ciphers and MACs
            Compression
            Configuring Root Logins
            Restricting User Logins
        Subconfigurations >>
        Configuring SSH Secure Shell for TCP Wrappers Support>>
        Configuring SSH2 for SSH1 Compatibility
        Forwarding>>
    Authentication >>
    Log Messages >>
    Using SSH Secure Shell >>
    Tool Syntax>>
    Technical Specifications >>

Default Locations of Secure Shell Files

The system-wide configuration files are the most important. They are located in the directory /etc/ssh2. User and system binaries are stored in /usr/local/bin and /usr/local/sbin, respectively. In /usr/local/sbin, you will find sshd2. All other binaries are stored in /usr/local/bin.

System-Wide Configuration Files

The system-wide configuration files for the client and server, respectively, consist of the following files:

  • /etc/ssh2/ssh2_config
  • /etc/ssh2/sshd2_config

Example files sshd2_config.example and ssh2_config.example can be found in the same directory.

Users can have their own configuration files. These are stored in ~/.ssh2.

Key Files

The system public key pair (DSS only) consists of the following files:

  • /etc/ssh2/hostkey
  • /etc/ssh2/hostkey.pub

Host keys that are recognized for all users on the local system should be placed in the /etc/ssh2/hostkeys directory.

User-specific host keys should be placed in the ~/.ssh2/hostkeys directory.

If you are using host-based authentication, the system-wide file for recognized host keys is /etc/ssh2/knownhosts.

User-specific known host keys should be located in ~/.ssh2/knownhosts.

License File

Commercial packages of SSH Secure Shell use the license file license_ssh2.dat. Non-commercial packages do not include this file.

To verify the type of the SSH Secure Shell package you are using, display version information with the following command:

ssh2 -V

When you acquire a license for an evaluation version of the software, the appropriate license file must be copied in the correct location. The license file is typically stored in the /etc/ssh2/ directory, but a different location can be specified by setting the environment variable SSH_LICENSE_FILE.

The license file specifies the type of the license and indicates that the software has been legally purchased. The file should be safely stored.

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