Hi, Can anyone point out some causes for a "Invalid pubkey" error message ?
In the code is the following line: if (pubkey == NULL || !ssh_key_is_public(pubkey)) { ssh_set_error(session, SSH_FATAL, "Invalid pubkey"); return SSH_AUTH_ERROR; } What does valid mean ? 1) The key is not a valid key ) The key is ok but is not in the list of accepted keys of remote server regards, bruno