summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index c79d164..171f4b7 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -838,7 +838,8 @@ int ssh_userauth_autopubkey(ssh_session session, const char *passphrase) {
#ifndef _WIN32
if (agent_is_running(session)) {
ssh_log(session, SSH_LOG_RARE,
- "Trying to authenticate with SSH agent keys");
+ "Trying to authenticate with SSH agent keys as user: %s",
+ session->username);
for (publickey = agent_get_first_ident(session, &privkeyfile);
publickey != NULL;