aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/command-ssh.c')
-rw-r--r--agent/command-ssh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 2def34290..83a27ed50 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2623,7 +2623,9 @@ ssh_handler_request_identities (ctrl_t ctrl,
err = agent_public_key_from_file (ctrl, grip, &key_public);
if (err)
{
- log_error ("failed to read the public key\n");
+ log_error ("%s:%d: key '%s' skipped: %s\n",
+ cf->fname, cf->lnr, cf->item.hexgrip,
+ gpg_strerror (err));
continue;
}