Skip to content
Fraser Harris edited this page Apr 1, 2015 · 13 revisions

Connecting to FTP

Use the generic key in Dropbox/Willet/keys, change to root to escape directory sandbox:

ssh -i willet-generic.pem ubuntu@ftp.secondfunnel.com
sudo su

Managing FTP Users

Create new user:

useradd -d /str/ftp/<directory> -s /sbin/nologin <ftp_user_name>
passwd <ftp_user_name>

Edit user and delete a user with: usermod, userdel

Managing FTP Settings

In /etc edit vsftpd.conf. Reference: vsFTPd docs.

Remember to restart the process to activate changes: service vsftpd restart

Create New FTP

Start with these instructions. Follow appropriate instructions for installing s3fs for your OS flavor.

Oh, and don't forget to create the SSL keys:

openssl req -x509 -nodes -days 3650 -newkey rsa:1024 -keyout /etc/ssl/private/vsftpd.key -out /etc/ssl/private/vsftpd.pem

Clone this wiki locally