ssh: propagate prompt to _communicate()
_communicate() uses the prompt variable to detect wrong passwords early, therefore it needs to be passed to it from exec_command().
Showing
Please
register
or
sign in
to comment
_communicate() uses the prompt variable to detect wrong passwords early, therefore it needs to be passed to it from exec_command().