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