This is required by the drbackup stuff, which is required to migrate Dist Git to ansible.
16 lines
195 B
Bash
16 lines
195 B
Bash
#!/bin/sh
|
|
# Confine ssh commands
|
|
case "$SSH_ORIGINAL_COMMAND" in
|
|
*\&*)
|
|
echo "Rejected"
|
|
;;
|
|
*\;*)
|
|
echo "Rejected"
|
|
;;
|
|
rsync\ --server\ --sender*)
|
|
$SSH_ORIGINAL_COMMAND
|
|
;;
|
|
*)
|
|
echo "Rejected"
|
|
;;
|
|
esac
|