Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: serverfault.com/questions/70657/ssh-access-without-password –  fuero Jan 20 '13 at 12:29

1 Answer 1

Yes, it is doable.

sshd_config:

UsePAM no
PermitEmptyPasswords yes

delete password from the user:

passwd -d user
share|improve this answer
1  
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
1  
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

 
discard

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.