Simon points out that r5068 broke keyboard-interactive with multiple

INFO_REQUESTs, and for some reason Debian OpenSSH is sending INFO_REQUESTs
containing no prompts after a normal password authentication, so this
should fix Shai's problem.

[originally from svn r5078]
[r5068 == 297ee2573e]
[this svn revision also touched putty-wishlist]
This commit is contained in:
Jacob Nevins 2005-01-07 16:55:45 +00:00
Родитель b21e8ac60b
Коммит 550f7b37cb
1 изменённых файлов: 2 добавлений и 1 удалений

3
ssh.c
Просмотреть файл

@ -6461,7 +6461,8 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
}
}
if (!s->method && s->can_keyb_inter && !s->kbd_inter_refused) {
if (!s->method && s->can_keyb_inter && !s->kbd_inter_refused &&
!s->kbd_inter_running) {
s->method = AUTH_KEYBOARD_INTERACTIVE;
s->type = AUTH_TYPE_KEYBOARD_INTERACTIVE;