V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 52s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-04 21:16:48 +02:00
parent 181e3e91d9
commit 3e3cd1cea2
4 changed files with 43 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ installation_ssh() {
### Declare Arrays, HashMaps, and Variables.
declare -a ary_user=()
declare -i i=0
declare var_auth="" var_name="" var_ca=""
declare var_auth="" var_name="" var_ca="" var_pub=""
chroot_exec "${TARGET}" apt-get install -y --no-install-recommends --no-install-suggests ssh
@@ -106,6 +106,18 @@ installation_ssh() {
chroot_script "${TARGET}" "ssh-keygen -r ${VAR_FINAL_FQDN}. >| /root/.ciss/cdi/log/SSHFP.log"
if [[ "${dropbear_boot}" == "true" ]]; then
printf "### Dropbear SSHFP RR: \n" >> "${TARGET}/root/.ciss/cdi/log/SSHFP.log"
for var_pub in "${TARGET}"/etc/dropbear/initramfs/dropbear*key*.pub; do
chroot_script "${TARGET}" "ssh-keygen -E sha256 -r ${VAR_FINAL_FQDN}. -f ${var_pub} >> /root/.ciss/cdi/log/SSHFP.log"
done
fi
###########################################################################################
# The file /etc/profile.d/idle-users.sh is created to set the read-only #
# environment variables: TMOUT #