Home
Support Forums

Deploy failed (Host key verification failed.)

Hello Netlify Support,

I am trying to connect the Github repository and deploy on Netlify but it’s failing.

Netlify site name is: stupefied-goldberg-ab8703

Here is an excerpt of the log which I think describes the problem:

12:23:41 PM: npm ERR! Error while executing:
12:23:41 PM: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/Creatiwity/favicons-webpack-plugin.git
12:23:41 PM: npm ERR!
12:23:41 PM: npm ERR! Host key verification failed.
12:23:41 PM: npm ERR! fatal: Could not read from remote repository.
12:23:41 PM: npm ERR!
12:23:41 PM: npm ERR! Please make sure you have the correct access rights
12:23:41 PM: npm ERR! and the repository exists.
12:23:41 PM: npm ERR!
12:23:41 PM: npm ERR! exited with error code: 128

Here are some screenshots:

I tried to look at other similar posts to identify and triage the issue but was unable to. Can you please help?

Thanks and regards,
Daniel (for Watsu India)

Hi @Watsu_India,

If I may ask, why are you connecting to GitHub using SSH instead of directly using the Netlify GitHub app?