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 have a need to setup an FTP server for many users to upload and download files.

The users are not consistent in their chosen protocol, some use FTP, some FTPS, some SFTP.

I would like to setup a server to provide this preferably using some Virtual Hosting arrangement that does not involve setting up system accounts for individual users. While the software for FTPS and FTP to enable this is readily available SFTP (the subsystem of SSH) does not appear to have many equivalents.

I have a single RedHat EL machine provisioned for this purpose.

Any suggestions?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

In my experience, you are forced to use PAM to authenticate users using SSH. You may want to look into pam_pwdfile if you wish to keep things simple for storing users and create a /etc/pam.d/ssh file accordingly.

You probably want to create SFTP-only chrooted accesses for your users, OpenSSHv5 allows you to do so very simply with ChrootDirectory (quick example here).

share|improve this answer
    
likely can then auth any ftp against the same file, ty! –  Antitribu Oct 30 '09 at 15:04

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.