commit | 8bf28d176a0bcf448763d6f05be52d1fc4289f7a | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 24 13:29:42 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 24 13:29:42 2016 +0100 |
tree | 3f5c6ed60d55af94d4e37e0337a22fe0c5221e26 | |
parent | ed6e0d393a8659d05e2996cd1342a05fef71d128 [diff] |
client session BUGFIX libssh echo bug temporary workaround
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c index 66c8adf..d75d07b 100644 --- a/src/session_client_ssh.c +++ b/src/session_client_ssh.c
@@ -1022,6 +1022,10 @@ if (prompt == NULL) { break; } + + /* libssh BUG - echo is always 1 for some reason, assume always 0 */ + echo = 0; + answer = opts->auth_interactive(ssh_userauth_kbdint_getname(ssh_sess), ssh_userauth_kbdint_getinstruction(ssh_sess), prompt, echo);