Last active
October 16, 2025 17:36
-
-
Save hitaboy/d60efc4452129bc07ea72ddfc53e6332 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #How to remove your SSH public/private keys, recreate them, and then add your newly created public key to the servers and online services you use. | |
| # Remove existing default SSH keys (Ed25519 and RSA) | |
| rm -f ~/.ssh/id_ed25519* ~/.ssh/id_rsa* | |
| # Generate a new Ed25519 SSH key (recommended) | |
| ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)-$(date -I)" | |
| # Add key to SSH agent with macOS Keychain integration | |
| ssh-add --apple-use-keychain ~/.ssh/id_ed25519 | |
| # Copy public key to clipboard | |
| pbcopy < ~/.ssh/id_ed25519.pub | |
| # Deploy public key to a remote server (replace 'user@host') | |
| ssh-copy-id -i ~/.ssh/id_ed25519.pub user@host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It needs to be updated to support the Ed25519 algorithm or be decommissioned.