if [ $# -lt 2 ]; then echo "arg1: username of ceph host (ssh) e.g root" echo "arg2: url/ip of ceph host e.g ceph-test.llnu.ungleich.cloud" exit 1 fi mkdir -p /etc/ceph sftp -b ./ceph_batch_cmd $1@$2:/etc/ceph