1
0
mirror of https://git.dpkg.org/git/dpkg/dupload.git synced 2025-04-09 13:44:37 +00:00
Files
dupload/t/bin/ssh
2023-11-16 00:35:45 +01:00

19 lines
248 B
Bash
Executable File

#!/bin/sh
set -e
printf "\nmock-ssh %s\n" "$*"
while [ $# -gt 0 ]; do
arg="$1"
shift
case "$arg" in
example.org)
# We pass the commands we need to execute just after the hostname.
eval $@
exit 0
;;
esac
done