~sirn/docker-filesync-server

Simple SSH server that only allows Rsync and Unison
Fix build using a wrong push credentials path
Make it clear in the README that security is anything but
Update README and note about security

clone

read-only
https://git.sr.ht/~sirn/docker-filesync-server
read/write
git@git.sr.ht:~sirn/docker-filesync-server

You can also use your local clone with git send-email.

#Filesync Server

Simple SSH server that only allows Rsync, Unison, and some file manipulation shell commands.

#Security

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.

#Usage

$ 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://filesync@127.0.0.1:9122/ using your SSH authentication.