mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 13:05:04 -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
2
ssh.c
2
ssh.c
@ -4992,9 +4992,11 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
|
|||||||
} else {
|
} else {
|
||||||
s->need_pw = FALSE;
|
s->need_pw = FALSE;
|
||||||
}
|
}
|
||||||
|
if (flags & FLAG_VERBOSE) {
|
||||||
c_write_str(ssh, "Authenticating with public key \"");
|
c_write_str(ssh, "Authenticating with public key \"");
|
||||||
c_write_str(ssh, comment);
|
c_write_str(ssh, comment);
|
||||||
c_write_str(ssh, "\"\r\n");
|
c_write_str(ssh, "\"\r\n");
|
||||||
|
}
|
||||||
s->method = AUTH_PUBLICKEY_FILE;
|
s->method = AUTH_PUBLICKEY_FILE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user