Restricted SSH server which allows SCP / SFTP / RSYNC access only. This image is meant to provide an ability to update content in data containers. You would normally make a constellation of your service, a data container, and the scp-server container.
Restricted SSH server which allows SFTP access only. This image is meant to provide an ability to update content in data containers. You would normally make a constellation of your service, a data container, and the scp-server container.
The scp-server container is configured at runtime with environment variables to match the configuration of the main service. The environment variables are:
* AUTHORIZED_KEYS - contains the public SSH keys for the users who will be allowed to upload.
* DATADIR - The location where relative paths start from.
* USERID - The numeric id of the `data` account. Defaults to 33.
* GROUPID - The numeric id of the `data` group. Defaults to 33.
**Environment Variables:**
* `AUTHORIZED_KEYS` - contains the public SSH keys for the users who will be allowed to upload.
* `USERID` - The numeric id of the `data` account. Defaults to 33.
* `GROUPID` - The numeric id of the `data` group. Defaults to 33.
Original code and idea is from https://github.com/gituser173/docker-scp-server.
**Volumes:**
* `/home/data` - Directory where all your data is
* `/etc/ssh/host_keys` - Generated `HostKeys` go here. Mount a volume here so they don't get regenerated all the time the container boots.