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 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note for everyone⚠️
user
placeholder with the server username, andhost
with the server IP Address.-i
flag value to the key destination, If you have saved your Keys somewhere else.-p
value with the new port address, If you have changes the default SSH port