You are not logged in.
Much like this old thread, I'd like to have sshd write entries into the journal logging sftp transfers. I tried the solution linked in the thread above but `journalctl -u sshd` is not showing the transfers. To save you time, the solution is to add the following line to /etc/ssh/sshd_config (and then restarting sshd.service):
Subsystem sftp /usr/lib/ssh/sftp-server -f AUTH -l VERBOSE
I can transfer files via filezilla but I don't get anything in `journalctl -u sshd` that shows these transfers, just a few lines showing I connected. Any thoughts? Thanks!
May 09 03:03:53 phobos sshd[3583]: Accepted publickey for graysky from xxx.xxx.xxx.xxx port 18831 ssh2: RSA SHA256:eA/1aDwAE29G++qJhFZ3aFGrQJvmw1xIoplpEa+XYHz
May 09 03:03:53 phobos sshd[3583]: pam_unix(sshd:session): session opened for user graysky by (uid=0)
May 09 03:04:15 phobos sshd[3616]: Accepted publickey for graysky from xxx.xxx.xxx.xxx port 34932 ssh2: RSA SHA256:eA/1aDwAE29G++qJhFZ3aFGrQJvmw1xIoplpEa+XYHz
May 09 03:04:15 phobos sshd[3616]: pam_unix(sshd:session): session opened for user graysky by (uid=0)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline