GitHub missing from known_hosts file

Donal Burns's Avatar

Donal Burns

25 Sep, 2024 02:55 PM

During releases on Ubuntu images (tested `Ubuntu`, `Ubuntu 2204`) when trying to use ssh to install packages from GitHub a user prompt.
```
The authenticity of host 'github.com (140.82.113.3)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no)?
```
From what I can tell the fingerprint is correct based on github site https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints
Manually adding the entry to the ssh file fixes this, but previously wasn't needed, so I don't think this intended.

  1. Support Staff 1 Posted by Owen McDonnell on 25 Sep, 2024 07:07 PM

    Owen McDonnell's Avatar

    Yes, it looks like the step of adding ssh known hosts failed and went undetected for Ubuntu 22.04 image. Sorry for that.
    We are working on an Ubuntu images update now so the fix will be included there.
    For now, continue with manual entry and await new images.

  2. Feodor Fitsner closed this discussion on 25 Nov, 2024 09:09 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