Skip to content

Instantly share code, notes, and snippets.

@vikpe
Last active July 20, 2025 22:59
Show Gist options
  • Save vikpe/34454d69fe03a9617f2b009cc3ba200b to your computer and use it in GitHub Desktop.
Save vikpe/34454d69fe03a9617f2b009cc3ba200b to your computer and use it in GitHub Desktop.
FIX: The authenticity of host github.com can't be established.

Error

The authenticity of host 'github.com (140.82.113.4)' can't be established.

Fix

ssh-keyscan github.com >> ~/.ssh/known_hosts

Example (eg. using CircleCI workflow)

- run:
    name: Add github.com to known hosts
    command: ssh-keyscan github.com >> ~/.ssh/known_hosts
@WazzyJaymz
Copy link

Thnaks it worked!

@rindev0901
Copy link

thanks it work well

@Rekidiang2
Copy link

it work thank you

@techsin
Copy link

techsin commented Jul 19, 2025

worked thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment