GithubHelp home page GithubHelp logo

s3ftp's Introduction

s3ftp

A mini-FTP server that persists all data to Amazon S3.

Installation

gem install s3ftp

Configuration

  1. Create a new, empty S3 bucket
  2. As root, run s3ftp --config some/path/config.yml
  3. The process will generate a default config file and exit with a usage notice
  4. edit the default config file and provide connection details for Amazon S3
  5. Upload a passwd file to your S3 bucket. It should contain a single line per user and be a CSV. It should look something like this

user1,password,y user2,password,n

the third column indicatest he users administrator status. Administrators can see all files. Regular users are sandboxed to their own directory.

if you enable bcrypt encryption support, you can generate the password hash by running ruby -e "require 'bcrypt' ; mypass = BCrypt::Password.create('password') ; puts mypass"

  1. As root if you choose a listening port less than 1024, or as any other user otherwise , run s3ftp --config some/path/config.yml again

License

This library is distributed under the terms of the MIT License. See the included file for more detail.

s3ftp's People

Contributors

digimedia avatar kiwnix avatar yob avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.