summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-11-12 12:52:05 +0100
committerAndreas Schneider <mail@cynapses.org>2009-11-12 12:52:05 +0100
commit3e90a11599d3427662ed6edb6d20b7660aba4ad8 (patch)
treec6c4c0fae66a734d3026d51054b547b49db4f2fc /libssh/auth.c
parentb4095189d77ac2792e06b3c84426106c71c9aba1 (diff)
downloadlibssh-3e90a11599d3427662ed6edb6d20b7660aba4ad8.tar.gz
libssh-3e90a11599d3427662ed6edb6d20b7660aba4ad8.tar.xz
libssh-3e90a11599d3427662ed6edb6d20b7660aba4ad8.zip
Improve standard logging.
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;