Adriano Chiaretta

Tag Archives: linux

How to enable SFTP logging in Linux

Here are the steps necessary in order to have the SFTP subsystem of the SSH (secure shell) daemon log operations on disk. 1. edit /etc/ssh/sshd_confing and look for the line: Uncomment it and update it as follows: -l INFO instructs the sftp server subsystem of the sshd daemon to log events, while -f LOCAL6 tells it […]

Recipe for a better bash

If you happen to have fun from time to time with *nix shells, and bash in particular, you’ve probably noticed that the command history will soon fill itself up with same-sort-of-commands such the usual ‘ls -la’, ‘uptime’, ‘df -ah’, etc.