Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4867

Troubleshooting • Re: Help turning on logging for SCP/SFTP connections

$
0
0
Create /etc/ssh/sshd_config.d/sftp-server.conf to override the default "Subsystem" line in /etc/ssh/sshd_config, and increase the logging level. See sftp-server(8) for documentation on the available options. E.g.

Code:

Subsystem       sftp    /usr/lib/openssh/sftp-server -l VERBOSE
Reload sshd after making config changes with:

Code:

sudo systemctl reload ssh.service
View the logs for sftp-server with:

Code:

journalctl -t sftp-server

Statistics: Posted by Murph9000 — Wed Jan 08, 2025 7:49 pm



Viewing all articles
Browse latest Browse all 4867

Trending Articles