The unified diff between revisions [833d0ade..] and [6bbab836..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'cli-authinteract.c'
#
#
# patch "cli-authinteract.c"
# from [7f57db7f1f69fa57583d1b29dade1a578105c4b8]
# to [e89e5e29ab9332f6ce3a091fb3bd629c0fd6469d]
#
============================================================
--- cli-authinteract.c 7f57db7f1f69fa57583d1b29dade1a578105c4b8
+++ cli-authinteract.c e89e5e29ab9332f6ce3a091fb3bd629c0fd6469d
@@ -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);