%post # paren for redirect of ouput to logfile... ( echo "post script ssh keys running `date`" # our ssh keys for root access at first boot prior to configuration mkdir /root/.ssh chmod 700 /root/.ssh touch /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys cat >> /root/.ssh/authorized_keys <> /root/.ssh/authorized_keys <> /root/.ssh/authorized_keys <> /root/.ssh/authorized_keys <> /root/.ssh/authorized_keys < /etc/ssh/sshd_config <&1 | tee /root/anaconda_post-ssh-keys.log %end