Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment