[Bug 3662] Make logging of chrooted sftp sessions possible internally routed to local file, without /dev/log device

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Feb 3 00:10:05 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3662

--- Comment #4 from Miranda <daku8938 at gmx.de> ---
(In reply to Damien Miller from comment #3)
> you shouldn't need a /dev/log socket with internal-sftp, it logs via
> the privileged monitor sshd process that runs without chroot

"Logging with the built-in sftp-subsystem inside a chroot jail, defined
by ChrootDirectory, needs a ./dev/log node to exist inside the jail."
(source:
https://en.wikibooks.org/wiki/OpenSSH/Logging_and_Troubleshooting#Logging_Chrooted_SFTP)

(we have set "ChrootDirectory %h" and every users has it's own home
dir)

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list