blankenshipz / s3tp

Passthrough SFTP service for Amazon S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About (DEPRECATED)

S3TP is an SFTP Server that does pass-through to S3 when provided credentials for an IAM user. This project was deprecated after AWS released a managed SFTP service.

Setup

Build the image and run the migrations against the local database

docker-compose build && \
docker-compose run --rm bin /bin/bash -c "migrate -source file://migrate -database postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable up"

Run the Server

docker-compose up will compile the binary and perform go run since we're using up here the ports will be exposed so that you can actually use connect to the server.

Connect

Use credentials for an IAM user (AWS_ACCESS_KEY/AWS_SECRET_KEY) to connect

> sftp <aws_access_key>@localhost
aws_access_key@localhost's password: <aws_secret_key>

README TODO

Add details about doing remote profiling of the server

About

Passthrough SFTP service for Amazon S3

License:GNU General Public License v3.0


Languages

Language:Go 91.2%Language:Shell 7.6%Language:Dockerfile 1.2%