Skip to content

Instantly share code, notes, and snippets.

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 seudut/26e9dfd093d3f084856cd54cd6f32179 to your computer and use it in GitHub Desktop.
Save seudut/26e9dfd093d3f084856cd54cd6f32179 to your computer and use it in GitHub Desktop.
ssh-copy-id user@remote_server
# or
cat ~/.ssh/id_rsa.pub | ssh username@host "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment