s_ota on Nostr: GitHub.com の SSH 秘密鍵をうっかり公開しちゃったらしい。 > This ...
GitHub.com の SSH 秘密鍵をうっかり公開しちゃったらしい。
> This week, we discovered that GitHub.com’s RSA SSH private key was briefly exposed in a public GitHub repository.
これで更新できました。
```
ssh-keygen -R github.com
curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
```
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
> This week, we discovered that GitHub.com’s RSA SSH private key was briefly exposed in a public GitHub repository.
これで更新できました。
```
ssh-keygen -R github.com
curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
```
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/