From 0af3c30f791e51b24170f8a492be5f0e17b3e03d Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Sun, 19 Apr 2026 20:58:50 -0700 Subject: [PATCH] setup-hub.sh: change password auth disable default to N --- hub/setup-hub.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/setup-hub.sh b/hub/setup-hub.sh index 49f83c3..fed301d 100755 --- a/hub/setup-hub.sh +++ b/hub/setup-hub.sh @@ -161,8 +161,8 @@ else fi header "Password Authentication" -read -rp "Disable password auth for $HUB_USER and use keys only? [Y/n]: " DISABLE_PASS -DISABLE_PASS="${DISABLE_PASS:-y}" +read -rp "Disable password auth for $HUB_USER and use keys only? [y/N]: " DISABLE_PASS +DISABLE_PASS="${DISABLE_PASS:-n}" if [[ "${DISABLE_PASS,,}" == "y" ]]; then if [ ! -s "$SSH_DIR/authorized_keys" ]; then warn "No keys found in $SSH_DIR/authorized_keys — skipping password auth disable to avoid lockout."