From ff4b3d595ae6ff68ef2611ee760107148e047ea1 Mon Sep 17 00:00:00 2001 From: "Sascha Schade (strongly-typed)" Date: Sun, 15 Jan 2023 02:53:02 +0100 Subject: [PATCH] Fix enable_ssh --pass-auth --- usr/lib/raspberrypi-sys-mods/imager_custom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/raspberrypi-sys-mods/imager_custom b/usr/lib/raspberrypi-sys-mods/imager_custom index 563e057..1091a99 100755 --- a/usr/lib/raspberrypi-sys-mods/imager_custom +++ b/usr/lib/raspberrypi-sys-mods/imager_custom @@ -71,7 +71,7 @@ enable_ssh () ( if [ "$arg" = "-k" ] || [ "$arg" = "--key-only" ]; then sed -i "$KEY_ONLY_SED_STR" /etc/ssh/sshd_config elif [ "$arg" = "-p" ] || [ "$arg" = "--pass-auth" ]; then - sed -i "$KEY_ONLY_SED_STR" /etc/ssh/sshd_config + sed -i "$PASSAUTH_SED_STR" /etc/ssh/sshd_config elif [ "$arg" = "-d" ] || [ "$arg" = "--disabled" ]; then ENABLE=0 else