Show More
@@ -97,7 +97,7 b' def _try_passwordless_openssh(server, keyfile):' | |||||
97 | p = pexpect.spawn(cmd) |
|
97 | p = pexpect.spawn(cmd) | |
98 | while True: |
|
98 | while True: | |
99 | try: |
|
99 | try: | |
100 |
p.expect('[Ppassword |
|
100 | p.expect('[Pp]assword:', timeout=.1) | |
101 | except pexpect.TIMEOUT: |
|
101 | except pexpect.TIMEOUT: | |
102 | continue |
|
102 | continue | |
103 | except pexpect.EOF: |
|
103 | except pexpect.EOF: |
General Comments 0
You need to be logged in to leave comments.
Login now