Afin de voir les connexions faites via le protocole SFTP, il faut :
IV.1 - Paramétrez le service ssh
Pour cela, dans le fichier /etc/ssh/sshd_config commentez la ligne :
#Subsystem sftp /usr/lib/openssh/sftp-serv
Et rajoutez les lignes suivantes :
# SFTP accessSubsystem sftp internal-sftp
#Port 384PermitRootLogin no
Match User sftp
ChrootDirectory /home/sftp/sites-web
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp -u 022 -l INFO