#!/bin/sh set -e DIR=/etc/ssh/ mkdir -p /target/$DIR cp $DIR/ssh_host_*_key* /target/$DIR