diff --git a/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys b/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys index 8905bf7e6..d13d25e1e 100644 --- a/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys +++ b/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys @@ -6,6 +6,6 @@ BOOT_SSH_KEY=/mnt/boot/authorized_keys HOME_SSH_KEY=/home/root/.ssh/authorized_keys if [ -f $BOOT_SSH_KEY ]; then - mv $BOOT_SSH_KEY $HOME_SSH_KEY + cp $BOOT_SSH_KEY $HOME_SSH_KEY chmod 0600 $HOME_SSH_KEY fi