Enum SshAuthenticationOutcome
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
What became of one authentication attempt (see Attempts).
public enum SshAuthenticationOutcome
Fields
Declined = 5This side gave up: KeyboardInteractive or PasswordProvider returned null, or the server's keyboard-interactive questions were not a single password prompt that Password could answer.
NoAcceptedAlgorithm = 3The key has no signature algorithm the server accepts (its
server-sig-algs), for example an RSA key and a server that lists norsa-sha2-*, or none that PubkeyAcceptedAlgorithms (ssh_config'sPubkeyAcceptedAlgorithms) allows. The key was not offered.NotOffered = 2The credentials for the method were set, but the server did not offer it (for example keys, and a server that takes only passwords). Nothing was sent.
PartialSuccess = 1The server accepted it, but requires another method too (sshd's
AuthenticationMethods).PasswordChangeRequired = 6The password was right but has expired, and was not changed: ChangePassword is not set or returned null, or the server refused every new password it was given.
Rejected = 0The server refused it (
SSH_MSG_USERAUTH_FAILUREwithout partial success): a wrong password, a key it does not know.SigningFailed = 4The server would accept the key, but the agent did not sign with it: the agent no longer holds it, or the user declined to confirm (
ssh-add -c).The method could not be used on this side: no Kerberos ticket, or no GSS-API library or .NET 10 for
gssapi-with-mic; or, forpasswordandkeyboard-interactive, the host key has changed and was accepted only because of No, so no password or answer is sent to the server (as ssh does). Nothing was sent.