Skip to content

Instantly share code, notes, and snippets.

@carlessanagustin
Created March 21, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save carlessanagustin/55057a8d467d3c09da6f to your computer and use it in GitHub Desktop.
Save carlessanagustin/55057a8d467d3c09da6f to your computer and use it in GitHub Desktop.
Configuring SSH remote access
# 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