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

Just you can run w to find who is sshing into your server, how can you find out who is scping into an Ubuntu laptop?

share|improve this question
I assumed the w and who worked for scp connections too but I've just tested it and it doesn't list them. – Oli Apr 1 '13 at 12:09
Why would you be scp-ing at all on your laptop? If you have SSH enabled, you should be securing it with SSH key auth, and firewalling all other ports anyways... – Thomas Ward Apr 1 '13 at 13:15
@TheLordofTime since for some reasons we weren't able to make ssh server on both laptops so if on only one laptop a ssh server is establish we can transfer data in both direction only if we use scp – aabhas Apr 1 '13 at 14:18
Close voter(s): Since Oli's edit, it's clear what this is asking, and this should not be closed as NARQ. – Eliah Kagan Apr 2 '13 at 6:36

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.