cdist/other/examples/remote/ssh/copy

11 lines
178 B
Text
Raw Normal View History

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