Simple SSH server that only allows Rsync and Unison
526
Simple SSH server that only allows Rsync, Unison, and some file manipulation shell commands.
Source code: https://git.sr.ht/~sirn/docker-filesync-server
Do not run this on an unsecured or a public network. Filesync Server tries absolutely nothing to prevent the user from uploading an executable and attempt to run it using various method (such as running the binary using sshcmd under Unison). Use with care.
$ podman run -p 9122:9122 -v ./data:/data --rm -it docker.io/sirn/filesync-server
Configure authorized_keys:
$ cat ~/.ssh/id_ed25519.pub >> ./data/ssh/authorized_keys
The server should be accessible from ssh://[email protected]:9122/ using your SSH authentication.
Content type
Image
Digest
sha256:f304b2a63…
Size
11.2 MB
Last updated
almost 4 years ago
docker pull sirn/filesync-server