Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different keys/users which who have access to certain folders on server. I don't want to use plain ftp for security reasons. Can we achieve this with User groups on amazon and by generating different keys?

share|improve this question

1 Answer 1

You should use vsftpd. It can be secured without providing a shell account to users, which is what you would have to do if you wanted to run vsft over ssh. It accomplishes this with SSL certificates. Also, it easily provides for anonymous and?or autehnticated downloads, and chroot jails. You can find guides to its configuration all over the Net, but I found the Ubuntu man page particularly clear to read.

share|improve this answer
I don;t want to share ec2 crt key with other people. Can I configure it to be password protected? –  Hrishikesh Kale Nov 23 '13 at 13:39
It uses certificates, not passwords. –  MariusMatutiae Nov 23 '13 at 13:59

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.