{"id":19979041,"url":"https://github.com/fphammerle/docker-rsync-sshd","last_synced_at":"2025-05-04T04:32:25.565Z","repository":{"id":39669993,"uuid":"163734638","full_name":"fphammerle/docker-rsync-sshd","owner":"fphammerle","description":"openssh-server restricted to rsync 🐳","archived":true,"fork":false,"pushed_at":"2024-03-15T09:09:25.000Z","size":126,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T06:03:18.622Z","etag":null,"topics":["backup","docker","openssh","rsync","ssh-server"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/fphammerle/rsync-sshd","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fphammerle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-01T12:22:13.000Z","updated_at":"2024-03-25T19:08:38.000Z","dependencies_parsed_at":"2022-09-20T07:22:31.380Z","dependency_job_id":"69a24047-107f-4288-b71c-50b2f627f91e","html_url":"https://github.com/fphammerle/docker-rsync-sshd","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Fdocker-rsync-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Fdocker-rsync-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Fdocker-rsync-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fphammerle%2Fdocker-rsync-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fphammerle","download_url":"https://codeload.github.com/fphammerle/docker-rsync-sshd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252288911,"owners_count":21724323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","docker","openssh","rsync","ssh-server"],"created_at":"2024-11-13T03:36:14.445Z","updated_at":"2025-05-04T04:32:21.219Z","avatar_url":"https://github.com/fphammerle.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker: openssh-server restricted to rsync 🐳\n\nrepo: https://github.com/fphammerle/docker-rsync-sshd\n\ndocker hub: https://hub.docker.com/r/fphammerle/rsync-sshd\n\nSSH clients are restricted to `rsync --server` commands via [rrsync](https://download.samba.org/pub/unpacked/rsync/support/rrsync).\n\nrrsync prefixes `/data` to all paths (e.g., `rsync ... host:/src /backup` downloads `/data/src`).\n\n## example 1\n\n```sh\n$ docker run --name=rsync-sshd -p 2022:22 -e USERS=alice,bob -v rsync-data:/data:ro fphammerle/rsync-sshd\n$ docker cp alice-keys rsync-sshd:/home/alice/.ssh/authorized_keys\n$ docker cp bob-keys rsync-sshd:/home/bob/.ssh/authorized_keys\n```\n\n## example 2\n\n```\n$ docker run --name rsync-sshd \\\n    --publish 2022:22 --env USERS=alice,bob \\\n    --volume accessible-data:/data:ro \\\n    --volume host-keys:/etc/ssh/host_keys \\\n    --volume alice-ssh-config:/home/alice/.ssh:ro \\\n    --volume bob-ssh-config:/home/bob/.ssh:ro \\\n    --init --rm \\\n    fphammerle/rsync-sshd\n$ rsync -av --rsh='ssh -p 2022' alice@localhost:/source /target\n```\n\nrequired capabilities:\n- NET_BIND_SERVICE\n- SETGID\n- SETUID\n- SYS_CHROOT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffphammerle%2Fdocker-rsync-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffphammerle%2Fdocker-rsync-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffphammerle%2Fdocker-rsync-sshd/lists"}