Mercurial > dropbear
changeset 488:a24139ba08c8
Print "Login for user@host" for keyboard interactive, since it probably
isn't clear from the remote host's prompt
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 18 Sep 2008 16:01:02 +0000 |
parents | 2e17f82a7330 |
children | 79c657a673ec |
files | cli-authinteract.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cli-authinteract.c Thu Sep 18 14:47:02 2008 +0000 +++ b/cli-authinteract.c Thu Sep 18 16:01:02 2008 +0000 @@ -77,6 +77,11 @@ 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);