Adding FTP support

Hi,

I have installed Ubuntu 9.10 and used the LAMP Stack StackScript. I followed this tutorial in the library to set up named based virtual hosting - http://library.linode.com/web-servers/a … al_hosting">http://library.linode.com/web-servers/apache/installation/ubuntu-9.10-karmic#configureapachefornamedbasedvirtualhosting - How would i now go about giving restricted FTP access to each vhost so the ftpuser can only access one vhost?

3 Replies

if possible consider using sftp

http://library.linode.com/networking/se … -sftp-jail">http://library.linode.com/networking/security-guides/linux-sftp-jail

for ftp, try

http://www.howtoforge.org/virtual-hosti … buntu-9.10">http://www.howtoforge.org/virtual-hosting-with-proftpd-and-mysql-ubuntu-9.10

Thanks, I went for the first option as i would prefer SFTP only. If i wanted to also enable FTPS, what would i need to do?

Follow the 2nd link, ftps normally comes with ftp servers by default, you just will have a self signed certificate which may throw warnings but nothing major

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct