Created
March 25, 2023 23:39
-
-
Save iCross/930b78b71c04c7e55994cb42b3b6483d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -R github.com | |
mv ~/.ssh/known_hosts.old /tmp/ | |
http https://api.github.com/meta | jq -r '.ssh_keys[] | ("github.com " + .)' >> ~/.ssh/known_hosts | |
ssh -vT git@github.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew linux 版: