Server Fault is a question and answer site for system and network administrators. 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 am looking for some option that will allow me to accept files from any server using SCP command. I am aware of the process of creating password-less logins. But what I am looking for is an option on central server that can be changed to accept files from anonymous users. This may look like security hazard, but that is exactly what I am asked to do.

share|improve this question
Check if this covers your question: – fuero Jan 20 '13 at 12:29

Yes, it is doable.


UsePAM no
PermitEmptyPasswords yes

delete password from the user:

passwd -d user
share|improve this answer
This lets them do more than accept files though. For example, anyone can see the list of uploaded files, download a file someone else uploaded, corrupt a file someone else uploaded, and so on. – David Schwartz Jan 20 '13 at 19:05
Right, I assumed the author of the question was aware of the security implications. A user can also log on the machine and show processes, execute commands... Scponly can be used to restrict the user to file transferts only. – zecrazytux Jan 20 '13 at 19:35

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.