We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70e4a31 + f2f1472 commit 781d73bCopy full SHA for 781d73b
src/transports/ssh.c
@@ -419,8 +419,10 @@ static int _git_ssh_authenticate_session(
419
}
420
} while (LIBSSH2_ERROR_EAGAIN == rc || LIBSSH2_ERROR_TIMEOUT == rc);
421
422
- if (rc == LIBSSH2_ERROR_PASSWORD_EXPIRED || rc == LIBSSH2_ERROR_AUTHENTICATION_FAILED)
423
- return GIT_EAUTH;
+ if (rc == LIBSSH2_ERROR_PASSWORD_EXPIRED ||
+ rc == LIBSSH2_ERROR_AUTHENTICATION_FAILED ||
424
+ rc == LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED)
425
+ return GIT_EAUTH;
426
427
if (rc != LIBSSH2_ERROR_NONE) {
428
if (!giterr_last())
0 commit comments