ssh_auth_pubkey_callback

@brief SSH authentication callback. @param session Current session handler @param user User that wants to authenticate @param pubkey public key used for authentication @param signature_state SSH_PUBLICKEY_STATE_NONE if the key is not signed (simple public key probe), SSH_PUBLICKEY_STATE_VALID if the signature is valid. Others values should be replied with a SSH_AUTH_DENIED. @param userdata Userdata to be passed to the callback function. @returns SSH_AUTH_SUCCESS Authentication is accepted. @returns SSH_AUTH_PARTIAL Partial authentication, more authentication means are needed. @returns SSH_AUTH_DENIED Authentication failed.

alias ssh_auth_pubkey_callback = int function

Meta