cdist/other/examples/remote/ssh/exec

11 lines
178 B
Bash
Executable File

#!/bin/sh
#
# same as cdist default
#
# Usage:
# __remote_exec="/path/to/this/script" cdist config target_host
#
#echo "$@" | logger -t "cdist-ssh-exec"
ssh -o User=root -q $@