Print "Login for user@host" for keyboard interactive, since it probably

isn't clear from the remote host's prompt

--HG--
extra : convert_revision : cabaf758875b341354e57def5bad3581a7da56e3
This commit is contained in:
Matt Johnston 2008-09-18 16:01:02 +00:00
parent f4aacaa74c
commit bece6ddcc2

View File

@ -77,6 +77,11 @@ void recv_msg_userauth_info_request() {
TRACE(("enter recv_msg_recv_userauth_info_request"))
/* Let the user know what password/host they are authing for */
if (!cli_ses.interact_request_received) {
fprintf(stderr, "Login for %s@%s\n", cli_opts.username,
cli_opts.remotehost);
}
cli_ses.interact_request_received = 1;
name = buf_getstring(ses.payload, NULL);