Commit 0e9961a9 authored by Brandon Smith's avatar Brandon Smith

Support password auth

parent 333b89eb
......@@ -75,7 +75,7 @@ def passthrough():
while True:
index = ssh.expect(["Authenticated with partial success.",
"Enter additional factors: ",
"([Pp]assword[^:\r\n]*|Enter additional factors): ?",
"----- BEGIN U2F CHALLENGE -----\r\n",
"[^ \r\n]+",
pexpect.EOF])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment