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