Skip to content

Instantly share code, notes, and snippets.

@Fatman13
Created October 14, 2014 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fatman13/9b4e72c0400f998f13ea to your computer and use it in GitHub Desktop.
Save Fatman13/9b4e72c0400f998f13ea to your computer and use it in GitHub Desktop.
# The ssh-copy-id command (in the openssh-client package and installed by default) does exactly this:
$ ssh-copy-id user@hostname.example.com
# copies the public key of your default identity (use -i identity_file for other identities) to the remote host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment