From 3e4619b479b143691ea9cc37a13c68b461b3c320 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 26 Sep 2000 10:06:05 +0000 Subject: [PATCH] The "Authenticated using key from agent" message is a verbose-only one [originally from svn r631] --- ssh.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ssh.c b/ssh.c index 4068aa72..852a2dad 100644 --- a/ssh.c +++ b/ssh.c @@ -1358,10 +1358,12 @@ static int do_ssh1_login(unsigned char *in, int inlen, int ispkt) crWaitUntil(ispkt); if (pktin.type == SSH1_SMSG_SUCCESS) { logevent("Pageant's response accepted"); - c_write("Authenticated using RSA key \"", - 29); - c_write(commentp, commentlen); - c_write("\" from agent\r\n", 14); + if (flags & FLAG_VERBOSE) { + c_write("Authenticated using RSA key \"", + 29); + c_write(commentp, commentlen); + c_write("\" from agent\r\n", 14); + } authed = TRUE; } else logevent("Pageant's response not accepted");