mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
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:
parent
f4aacaa74c
commit
bece6ddcc2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user