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:
parent
14eeb3b664
commit
78dbf5df0e
8
ssh.c
8
ssh.c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user