Displaying 1 result from an estimated 1 matches for "ssh2_auth_password".
2000 Jul 12
1
Problems with Port Forwarding and Password auth
...ubkey() which due to this if statement in
input_userauth_request()
if (pw && strcmp(service, "ssh-connection")==0) {
if (strcmp(method, "none") == 0) {
authenticated = ssh2_auth_none(pw);
} else if (strcmp(method, "password") == 0) {
authenticated = ssh2_auth_password(pw);
} else if (strcmp(method, "publickey") == 0) {
authenticated = ssh2_auth_pubkey(pw, service);
}
}
never gets called because it is authenticated by ssh2_auth_password() first. So in
effect, it is never possible for the no_port_forwarding_flag to be ==1.
So, for a long sto...