Subject: | Option for nonstandard password prompts |
I'm connecting to a slightly broken host (not mine, so no control over
it) where the prompt is:
"xxxxx's password"
with no trailing "?" or ":". Net::SFTP::Foreign expects a trailing "?"
or ":" so it hangs (note: previous bug about precedence problem still
exists on other hosts). It would be helpful if you could pass in a regex
as an option to the constructor to resolve problems like this.
Something like:
-passwordprompt => qr/s password$/,
Or an optional string or whatever.