Skip to content

Commit

Permalink
Fix the SSH password detection regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Dec 9, 2013
1 parent 9f1de0c commit b569b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/utils/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# because that will cause issues under windows at install time.
raise

SSH_PASSWORD_PROMP_RE = re.compile(r'[Pp]assword(?: for .*)?:')
SSH_PASSWORD_PROMP_RE = re.compile(r'([Pp]assword for .*|.* [Pp]assword):')

# Import salt libs
import salt.crypt
Expand Down

0 comments on commit b569b6c

Please sign in to comment.