From 4fe5617a2415015e8e59960c52dcc89087142e03 Mon Sep 17 00:00:00 2001 From: BrainwreckedTech <3752022+BrainwreckedTech@users.noreply.github.com> Date: Mon, 14 Nov 2022 01:12:11 -0500 Subject: [PATCH] Fix verb/action mismatch --- sshdpw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshdpw b/sshdpw index 953489e..dc046f5 100755 --- a/sshdpw +++ b/sshdpw @@ -4,10 +4,10 @@ case "${1}" in on|yes|enable|unlock) - FROM=yes; TO=no; + FROM=no; TO=yes ;; off|no|disable|lock) - FROM=no; TO=yes; + FROM=yes; TO=no ;; toggle) if grep -q '^PasswordAuthentication yes' /etc/ssh/sshd_config; then