Created
March 21, 2016 15:21
-
-
Save carlessanagustin/55057a8d467d3c09da6f to your computer and use it in GitHub Desktop.
Configuring SSH remote access
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
# local instance | |
ssh-keygen -b 2048 -P '' -f ~/.ssh/id_rsa | |
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys | |
# remote instance | |
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.1 | |
# more: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-to-connect-to-a-remote-server-in-ubuntu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment