Run Rsync SSH server in Docker.
Docker Hub Image: dciancu/rsync-ssh-server
Run gen-ssh-host-keys.sh
script before starting container.
Make sure to put the authorized ssh key in data/ssh/key.pub
.
Run the container using docker compose
with the provided docker-compose.yml
.
On remote host use rsync -av --delete --progress --info=progress2 --stats -e 'ssh -p 2222' /source [email protected]:/target
.
This project is open-source software licensed under the Apache License, Version 2.0.