Mercurial > dropbear
comparison cli-authinteract.c @ 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 | 31743c9bdf78 |
children | 8cd04e707171 |
comparison
equal
deleted
inserted
replaced
487:2e17f82a7330 | 488:a24139ba08c8 |
---|---|
75 unsigned int echo = 0; | 75 unsigned int echo = 0; |
76 unsigned char *response = NULL; | 76 unsigned char *response = NULL; |
77 | 77 |
78 TRACE(("enter recv_msg_recv_userauth_info_request")) | 78 TRACE(("enter recv_msg_recv_userauth_info_request")) |
79 | 79 |
80 /* Let the user know what password/host they are authing for */ | |
81 if (!cli_ses.interact_request_received) { | |
82 fprintf(stderr, "Login for %s@%s\n", cli_opts.username, | |
83 cli_opts.remotehost); | |
84 } | |
80 cli_ses.interact_request_received = 1; | 85 cli_ses.interact_request_received = 1; |
81 | 86 |
82 name = buf_getstring(ses.payload, NULL); | 87 name = buf_getstring(ses.payload, NULL); |
83 instruction = buf_getstring(ses.payload, NULL); | 88 instruction = buf_getstring(ses.payload, NULL); |
84 | 89 |