Dino Geek, try to help you

How to configure SFTP connection logging?


To configure SFTP connection logging, follow these steps:

1. Open your SFTP server configuration file, usually located in /etc/ssh/sshd\_config.
2. Locate the section that refers to logging and uncomment the line that reads “Subsystem sftp /usr/lib/openssh/sftp-server” (or a similar path).
3. Add the following line below it:

LogLevel VERBOSE

1. Save the file.
2. Restart your SFTP server process to apply the changes.

With these settings in place, the SFTP server will log connection attempts and actions taken by users to the server’s system log, typically located in /var/log/auth.log or /var/log/secure. You can use standard log analysis tools to view and analyze these logs.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use