R. David Murray <rdmur...@bitdance.com> added the comment: Given the title, are you saying that it works if you omit the stderr=subprocess.STDOUT? At the beginning you say you are using an authorized key and mux so you don't need to enter a password, and at the end you say it works fine if the MUX is created. So that sounds like the failure is when you are trying to establish the first connection. Perhaps the problem is that the subprocess doesn't have access to your key for some reason, and therefore ssh is prompting for a password?
---------- nosy: +gregory.p.smith, r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com