Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just started a task and I'm trying to get a list of the all file transfer that is happening on my server, from outside the server, mean user sending file through ftp or scp just,

This task is just for a periodically health check,

I read here that the scp file transfer log file i the same as ssh, I tried to serch inside this file /var/log/auth.log using

grep -i "scp" /var/log/auth.log

but I found nothing. the return was empty.

does anyone have any idea how that should happened or should I turn some feature on to log that information for future file transfer?


share|improve this question
Try searching in auth.log.1: grep ssh /var/log/auth.log.1 – Radu Rădeanu May 13 '13 at 20:40
Thank you for your reply!! highly appreciated! I got a list for ssh connections that happened on the server, can I get a list of the files name and maybe the location from where they has been sent. – mongotop May 13 '13 at 20:50
1… – Qasim May 15 '13 at 20:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.