-
Notifications
You must be signed in to change notification settings - Fork 1
Fraser Harris edited this page Apr 1, 2015
·
13 revisions
Use the generic key in Dropbox/Willet/keys
, change to root
to escape directory sandbox:
ssh -i willet-generic.pem [email protected]
sudo su
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
In /etc
edit vsftpd.conf
. Reference: vsFTPd docs.
Remember to restart the process to activate changes: service vsftpd restart
Start with these instructions. Follow appropriate instructions for installing s3fs for your OS flavor. Use this to mount s3fs:
/usr/bin/s3fs -o allow_other -o default_acl="public-read-write" -o use_rrs=1 ftp.secondfunnel.com /str/ftp
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
Note: after every reboot
you will need to remount s3fs.