Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to enable SFTP logging?

Posted on 2008-11-17
1
Medium Priority
?
2,376 Views
Last Modified: 2013-12-09
I've got a Fedora 8 box running openssh-server 4.7p1 and I'm trying to enable SFTP logging.  I tried enabling SftpSysLogFacility in /etc/ssh/sshd_config, but that just gives me a "Bad configuration option" on startup.

Any thoughts?

Thanks!
0
Comment
Question by:CCTV17
1 Comment
 
LVL 48

Accepted Solution

by:
Tintin earned 2000 total points
ID: 22979071
The default syslog configuration for sftp is AUTH.ERROR.  To change this
edit /etc/ssh/sshd_config

and change the line

Subsystem sftp /usr/lib/openssh/sftp-server

to

Subsystem sftp /usr/lib/openssh/sftp-server -f LOCAL1 -l INFO

Adjust the syslog facility and level to suit your needs.

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question