summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 1b4422876..1d911b9bb 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sshconnect2.c,v 1.38 2001/01/22 17:22:28 stevesk Exp $"); 26RCSID("$OpenBSD: sshconnect2.c,v 1.39 2001/01/22 23:06:40 markus Exp $");
27 27
28#include <openssl/bn.h> 28#include <openssl/bn.h>
29#include <openssl/md5.h> 29#include <openssl/md5.h>
@@ -513,6 +513,9 @@ ssh_userauth2(const char *server_user, char *host)
513 int type; 513 int type;
514 int plen; 514 int plen;
515 515
516 if (options.challenge_reponse_authentication)
517 options.kbd_interactive_authentication = 1;
518
516 debug("send SSH2_MSG_SERVICE_REQUEST"); 519 debug("send SSH2_MSG_SERVICE_REQUEST");
517 packet_start(SSH2_MSG_SERVICE_REQUEST); 520 packet_start(SSH2_MSG_SERVICE_REQUEST);
518 packet_put_cstring("ssh-userauth"); 521 packet_put_cstring("ssh-userauth");