I have a custom finish script. It does a lot of customizing. One of the things it does is copy saved ssh host keys (in /etc/ssh) from a previously-saved location, where there's one subdirectory for each host containing the ssh host keys.
# -------------------------------------------------- # SSH init for directory /etc/ssh SSH_INIT_DIR="$SI_CONFIG_DIR/$SI_HOSTNAME/etc/ssh" if [ -d "$SSH_INIT_DIR" ] ; then echo "SSH directory /etc/ssh init from $SSH_INIT_DIR" cp -p $SSH_INIT_DIR/* etc/ssh chmod go-r etc/ssh/*key else echo "No ssh directory $SSH_INIT_DIR; skipping" fi -- This message posted from opensolaris.org