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.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • 1.png 56.2 KB

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

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