We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca4dc80 commit ef28357Copy full SHA for ef28357
packages/bsp/common/usr/lib/armbian/armbian-firstlogin
@@ -587,7 +587,7 @@ add_user() {
587
# download and add SSH key if defined
588
if [[ -n "${PRESET_USER_KEY}" ]]; then
589
mkdir -p /home/"$RealUserName"/.ssh/
590
- curl --retry 5 --connect-timeout 3 "${PRESET_ROOT_KEY}" > /home/"$RealUserName"/.ssh/authorized_keys 2> /dev/null
+ curl --retry 5 --connect-timeout 3 "${PRESET_USER_KEY}" > /home/"$RealUserName"/.ssh/authorized_keys 2> /dev/null
591
chown -R "$RealUserName":"$RealUserName" /home/"$RealUserName"/.ssh/
592
fi
593
0 commit comments