Skip to content

Commit

Permalink
Sandboxed SSH server: add rsync to the Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jan 8, 2025
1 parent fe3dabd commit 0140bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/modules/system/module_sshserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function module_openssh-server () {
exit 1
fi
done
# install rsync
docker exec -it openssh-server /bin/bash -c "apk update; apk add rsync"
;;
"${commands[1]}")
[[ "${container}" ]] && docker container rm -f "$container" >/dev/null
Expand Down

0 comments on commit 0140bc4

Please sign in to comment.