# HG changeset patch # User Matt Johnston # Date 1221753662 0 # Node ID a24139ba08c800566924f1299a7e9ec5460371ab # Parent 2e17f82a7330daabcd7209beaedec7af6c999546 Print "Login for user@host" for keyboard interactive, since it probably isn't clear from the remote host's prompt diff -r 2e17f82a7330 -r a24139ba08c8 cli-authinteract.c --- 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);