From befac02d7b6a07659c115cccf00ca1b04bf79b41 Mon Sep 17 00:00:00 2001 From: Alessandro Lannocca Date: Tue, 2 Jul 2024 22:00:00 +0100 Subject: [PATCH] extend network inactivity timeout to 100 seconds --- extensions/fs-cryptroot-support.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fs-cryptroot-support.sh b/extensions/fs-cryptroot-support.sh index bf3c3e4a81..58755e942a 100644 --- a/extensions/fs-cryptroot-support.sh +++ b/extensions/fs-cryptroot-support.sh @@ -47,7 +47,7 @@ function pre_install_kernel_debs__adjust_dropbear_configuration() { # Set the port of the dropbear ssh daemon in the initramfs to a different one if configured # this avoids the typical 'host key changed warning' - `WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!` [[ -f "${dropbear_dir}/${dropbear_config}" ]] && - sed -i "s/^#DROPBEAR_OPTIONS=.*/DROPBEAR_OPTIONS=\"-I 10 -j -k -p "${CRYPTROOT_SSH_UNLOCK_PORT}" -s -c cryptroot-unlock\"/" \ + sed -i "s/^#DROPBEAR_OPTIONS=.*/DROPBEAR_OPTIONS=\"-I 100 -j -k -p "${CRYPTROOT_SSH_UNLOCK_PORT}" -s -c cryptroot-unlock\"/" \ "${dropbear_dir}/${dropbear_config}" # setup dropbear authorized_keys, either provided by userpatches or generated