Does anyone here know or could point me in the right direction:
I have a Debian Linux box sitting on the OVH network
I have SSH setup on port 2298.
I disallow all FTP sessions and make everyone who I allow access a user profile with a ppk key file.
They then can login to the server to download files from it via SFTP.
Now what I want to do is for the server to email me the log of when they login (and from what IP) and a rough idea of what file(s) they've grabbed.
Now ideally i want to use my own email account (as i have my own hosting setup, so can easily create a new email address)
Is there an easy way of doing this.
Or and this a big OR would it be easy to do this with a FTP server. (If i go down this root i need it to be as secure as the way i have setup above, Whereby only certain people with a special file (i give out: ppk generated by me for there account) can login.
Cheers for any help