Skip to content

Instantly share code, notes, and snippets.

@sebastianmacias
Last active November 6, 2017 15:36
Show Gist options
  • Save sebastianmacias/24b9048b96eb7ed45f3447edc5f5650a to your computer and use it in GitHub Desktop.
Save sebastianmacias/24b9048b96eb7ed45f3447edc5f5650a to your computer and use it in GitHub Desktop.
Password-less SSH on Ubuntu 16.04

at CLIENT machine

$ cd
$ cat .ssh/id_rsa.pub
>> copy the key (the long text)

at SERVER

$ cd
$ vi .ssh/authorized_keys
>> paste the client’s key at the end of the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment