[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalid pubkey Error


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

Follow-Ups:
Re: Invalid pubkey ErrorAnderson Sasaki <ansasaki@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org