Skip to content

Instantly share code, notes, and snippets.

@adriantorrie
Created November 11, 2014 10:37
Show Gist options
  • Select an option

  • Save adriantorrie/cf27a1f4ad4928cd9e86 to your computer and use it in GitHub Desktop.

Select an option

Save adriantorrie/cf27a1f4ad4928cd9e86 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 - Generate ssh key and copy the key to a remote machine
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
ssh remote-host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment