Skip to content

Instantly share code, notes, and snippets.

@dimitri-koenig
Created August 5, 2015 06:33
Show Gist options
  • Save dimitri-koenig/589e70f3dcacd3b124fb to your computer and use it in GitHub Desktop.
Save dimitri-koenig/589e70f3dcacd3b124fb to your computer and use it in GitHub Desktop.
Easy copy your ssh public key to another server

ssh-copy-id takes your public key, connects to the remote server and inserts your key into the authorized_keys file.

$ brew install ssh-copy-id
$ ssh-copy-id user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment