Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 667 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 667 Bytes

rsync-over-ssh

Build Status

Overview

Dockerfile for rsync over ssh.

Usage

Start an rsync-over-ssh instance

$ docker run \
    --name some-rsync-over-ssh \
    -p 192.168.0.254:2222:22 \
    -v /docker/host/dir/authorized_keys:/etc/ssh/rsync/authorized_keys:ro \
    -v /docker/host/dir/rsync:/rsync \
    -d werekraken/rsync-over-ssh

Use a Dockerfile instead of volume for authorized_keys

FROM werekraken/rsync-over-ssh

COPY authorized_keys /etc/ssh/rsync/authorized_keys