Created
January 27, 2020 13:42
-
-
Save ptflp/85149ff4b2590873174f831e8c23e2e3 to your computer and use it in GitHub Desktop.
Add fingerprint of github.com automatically by bash script
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
#!/bin/bash | |
echo "Applying fingerprint" | |
ssh-keygen -F github.com || ssh-keyscan github.com >>~/.ssh/known_hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment