We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f05d2d commit f2f1472Copy full SHA for f2f1472
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