SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server >>
    Getting Started >>
    Configuration >>
        Configuration Files >>
        Subconfigurations >>
        Enabling FIPS Mode
        Ciphers and MACs
        Compression
        Configuring Root Logins
        Restricting User Logins
        Subsystems
        Configuring ssh2 for ssh1 Compatibility
        Auditing >>
            Configuring Logging in sshd2
            Logging SFTP Transactions
            Log Facilities for sshd2_config
        Securing SSH Tectia Client and Server >>
    Authentication >>
    Application Tunneling >>
    Troubleshooting >>
    Man Pages
    Advanced Options >>
    Log Messages >>

Logging SFTP Transactions

The log facility for sftp-server and internal://sftp-server is set with SftpSysLogFacility. Here, the informational level logs very verbosely. (For example, stat-calls are logged. This can happen hundreds of times when reading a directory listing.) Usually, you want to use a higher level (for example, notice) for logging SFTP.

Nothing is logged by the SFTP-service if the SftpSysLogFacility is not set in the configuration.

In /etc/ssh2/sshd2_config add the following:

SftpSysLogFacility  LOCAL7

In /etc/syslog.conf add the following:

local7.notice       /var/log/sftp

Previous Next Up [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