Azure DevOps fails host key for SSH

Jason Prothero's Avatar

Jason Prothero

16 Jun, 2023 06:50 PM

When trying to build from an Azure DevOps repository, we are getting a host key error that prevents the build:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:ohD8VZEXGWo6Ez8GSEJQ9WpafgLFsOfLOtGGQCQo6Og.
Please contact your system administrator.
Add correct host key in /c/Users/appveyor/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /c/Users/appveyor/.ssh/known_hosts:246
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
UpdateHostkeys is disabled because the host key is not trusted.

Is there anything I can update in the configuration to get this working?

Thanks,
Jason

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2023 06:56 PM

    Feodor Fitsner's Avatar

    Hi Jason,

    Could you drop a link to a build please?

  2. Feodor Fitsner closed this discussion on 16 Aug, 2023 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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