Displaying 1 result from an estimated 1 matches for "ssh2_auth_pubkey".
2000 Jul 12
1
Problems with Port Forwarding and Password auth
...e I set
the GatewayPorts to yes, in the sshd_config. So I look further, and it seems that
the no_port_forwarding_flag only is set in one place inside sshd. That is in
auth_parse_options().
Unfortunately auth_parse_options() is only called by user_dsa_key_allowed() which is
in turn only called by ssh2_auth_pubkey() 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_...