Re: auth_pubkry callback is only getting called with signature_state == SSH_PUBLICKEY_STATE_NONE

2017-11-29 Thread Andreas Schneider
On Saturday, 21 October 2017 20:48:27 CET Eric Bentley wrote: > I changed the return to SSH_AUTH_SUCCESS and am now I get the second > authentication attempt and can authenticate. So is the documentation wrong > or am doing the wrong (but working) thing? If signature_state is

Re: auth_pubkry callback is only getting called with signature_state == SSH_PUBLICKEY_STATE_NONE

2017-10-21 Thread Eric Bentley
I changed the return to SSH_AUTH_SUCCESS and am now I get the second authentication attempt and can authenticate. So is the documentation wrong or am doing the wrong (but working) thing? -Eric On 10/12/17, 9:28 PM, "Eric Bentley" wrote: … int

auth_pubkry callback is only getting called with signature_state == SSH_PUBLICKEY_STATE_NONE

2017-10-12 Thread Eric Bentley
… int auth_publickey(ssh_session session, const char *user, struct ssh_key_struct *pubkey, char signature_state, void *userdata) { struct AUTH_DATA *auth_data = (struct