ssh-keyscan on MacOS

Aliaksandr's Avatar

Aliaksandr

05 Feb, 2021 11:54 AM

Hello Team,

I face an issue (see first screenshot).
I found a way how to fix it. https://help.appveyor.com/discussions/problems/26696-cannot-clone-from-gitlab-host-key-verification-failed

But "ssh-keyscan" ssh-keygen is available on Linux (Windows Subsystem for Linux on Windows 10) (https://www.appveyor.com/docs/how-to/ssh-to-build-worker/)

I use Mac image because i need to build an ios application. Could you please help me ?

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Feb, 2021 07:15 PM

    Feodor Fitsner's Avatar

    You can run ssh-keyscan <your host> locally, copy-paste the value to AppVeyor project environment variable and then append it to ~/.ssh/known_hosts during the build. Hope that helps.

  2. Feodor Fitsner closed this discussion on 07 Apr, 2021 09:03 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