GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The pattern passed to pexpect is '[Ppassword]:', which looks for any of those letters followed by ':', and not, as the intention seems to be, for 'Password:'. The correct pattern is '[Pp]assword:'.
This is at IPython/external/ssh/tunnel.py:100.
I agree. Do you want to open a pull request?
Hmm, well, I thought it was trivial enough not to bother, but if that's how things are done here, I guess I should. Not sure if there's a smart way to link to pull requests, but it's here: #2280 .
@ikn, you can just metion any issue/PR by its number and github auto-converts that to a link: #2280, when typed without escapes, will link (on the github website, not on the emails) to your PR: #2880.
Merge pull request #2280 from ikn/master
fix SSH passwordless check for OpenSSH
typo in pexpect pattern
fix check for passwordless OpenSSH (fixes #2266)
pexpect takes a regular expression, so we want '[Pp]assword:', not