Created
November 13, 2020 04:44
-
-
Save janaSunrise/07ec49fa15dc0f2001a416c57e015015 to your computer and use it in GitHub Desktop.
This snippet of code, allows you to add Key based Passwordless authentication for your server connections.
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
| ssh-keygen | |
| ssh-copy-id -i ~/.ssh/id_rsa.pub -p 22 user@host |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note for everyone⚠️
userplaceholder with the server username, andhostwith the server IP Address.-iflag value to the key destination, If you have saved your Keys somewhere else.-pvalue with the new port address, If you have changes the default SSH port