Created
August 7, 2022 18:20
-
-
Save juanlu-sanz/37677f5f8e9ebda573d324d58764e772 to your computer and use it in GitHub Desktop.
Simple way to create a brand new SSH key and upload it to a server for authentication
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
#Draft, please change key name, email and server to copy to. | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/myBrandNewKey -C myemail@mydomain.com | |
ssh-copy-id -i ~/.ssh/myBrandNewKey myServerUser@myServerDomain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment