1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-12 00:28:06 -05:00

`Authenticating with key' message when using a local key file in

SSH2 was not contained within a test for FLAG_VERBOSE. Thanks to
Paul Gotch for pointing this out.

[originally from svn r4281]
This commit is contained in:
Simon Tatham 2004-06-15 09:50:05 +00:00
parent 14eeb3b664
commit 78dbf5df0e

8
ssh.c
View File

@ -4992,9 +4992,11 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
} else {
s->need_pw = FALSE;
}
c_write_str(ssh, "Authenticating with public key \"");
c_write_str(ssh, comment);
c_write_str(ssh, "\"\r\n");
if (flags & FLAG_VERBOSE) {
c_write_str(ssh, "Authenticating with public key \"");
c_write_str(ssh, comment);
c_write_str(ssh, "\"\r\n");
}
s->method = AUTH_PUBLICKEY_FILE;
}
}