[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

sftp running in chroot env

I've configured sftp to run in a chroot env which seems to work
however I am unable to get syslog to log the sftp activities within
the chroot.

If I connect via sftp to a non-chroot env the daemon will log the
transactions as expected:


Feb 11 10:35:20 XXXXXXXXXX sftp-server[11797]: [ID 800047 auth.info]
open "/home/someguy/test/file" flags READ mode 0666

I also need the activities to be logged from within the chroot - can
someone please give me some pointers?

Here is my config running under Solaris 10:

auth.debug                                      /var/adm/openssh.log

SyslogFacility AUTH
LogLevel DEBUG
Subsystem       sftp    /opt/openssh/libexec/sftp-server -l DEBUG

Match User sample
        ChrootDirectory /home/chroot

chroot env:










“it is better to solve the right problem the wrong way than the wrong
problem the right way”
-- Doug McIlroy

[Home]     [Fedora Users]     [Fedora Legacy]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

Add to Google Powered by Linux