Closed jmhobbs closed 1 month ago
GitHub updated their RSA key, and if GIT_HOST_KEY is not set, the default key is incorrect.
GIT_HOST_KEY
This key was pulled from the blog post, but can be confirmed with ssh-keyscan:
ssh-keyscan
$ ssh-keyscan github.com 2>/dev/null | grep rsa github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
Closing since it's been > a year. ¯\_(シ)_/¯
GitHub updated their RSA key, and if
GIT_HOST_KEY
is not set, the default key is incorrect.This key was pulled from the blog post, but can be confirmed with
ssh-keyscan
:https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/