Public | Automated Build

Last pushed: a day ago
Short Description
Short description is empty for this repo.
Full Description

luzifer/sftp-share Dockerfile

This repository contains Dockerfile of sftp-share for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull luzifer/sftp-share

Usage

To launch it and have your share listen on port 2022, just type:

docker run -d -p 2022:22 -e USER=myuser -e PASS=myverysecretpassword luzifer/sftp-share
Docker Pull Command
Owner
luzifer
Source Repository

Comments (4)
quentinv
a year ago

Hello,

Nice work !

I am using it with docker-compose. Do you have an easy way to Encrypt the user password in the file ?

Thank you

luzifer
2 years ago

@azcto: You should be able to just put a .ssh directory into the directory mounted to /data/ with an authorized_keys file. Those keys should be able to log into the container.

azcto
2 years ago

How can we use SSH key without password to login?

dstockton
3 years ago

This didn't work for me. The Ubuntu MOTD seems to interfered with the protocol; even after disabling (through logging into running container and disabling MOTD) it still didn't work. atmoz/sftp worked for me for others looking for a quick solution.