Commit 73c13220 authored by James Housley's avatar James Housley
Browse files

Prevent the state machine from getting stuck in SSH_AUTH_HOST_INIT

parent 99e0597c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -451,6 +451,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
      if ((data->set.ssh_auth_types & CURLSSH_AUTH_HOST) &&
          (strstr(sshc->authlist, "hostbased") != NULL)) {
        state(conn, SSH_AUTH_HOST);
      } else {
        state(conn, SSH_AUTH_KEY_INIT);
      }
      break;