Host key verification failed.

gurdip.sira's Avatar


01 Mar, 2022 11:44 PM

I get this error when trying to do a git clone in my pipeline:

Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Command exited with code 128
Build failed

I use a Github token. Please advise?

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Mar, 2022 11:48 PM

    Feodor Fitsner's Avatar

    Can you drop a link to a build please?

  2. 2 Posted by gurdip.sira on 02 Mar, 2022 08:18 PM

    gurdip.sira's Avatar

    The build runs on my own on prem server. Is there some sort of log I can give you?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac