Cannot get sftp transfers to log in the systemd journal

Darren Tucker dtucker at dtucker.net
Tue May 10 18:58:59 AEST 2016


Maybe try the internal-sftp subsystem instead of sftp?  That runs inside
sshd which has provisions for syslogging from inside a chroot (instead of
as a separate executable).
On May 9, 2016 18:11, "John" <da_audiophile at yahoo.com> wrote:

> I'd like to have sshd write entries into the systemd journal logging sftp
> transfers.  From googling, it seems that one needs to edit
> /etc/ssh/sshd_config adding this line:
>
> Subsystem sftp  /usr/lib/ssh/sftp-server -f AUTH -l VERBOSE
>
>
> I can transfer files via filezilla (sftp) but I don't get anything in
> `journalctl -u sshd` that shows these transfers, just a few lines showing I
> connected.  What am I doing wrong?  I am using version 7.2p2 on Arch
> Linux.  Thanks in advance!
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>


More information about the openssh-unix-dev mailing list