Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Last active April 14, 2022 07:56
Show Gist options
  • Select an option

  • Save dasgoll/2cef3f6cf73507b65f550abc67ee55f0 to your computer and use it in GitHub Desktop.

Select an option

Save dasgoll/2cef3f6cf73507b65f550abc67ee55f0 to your computer and use it in GitHub Desktop.
Using ssh-copy-id to copy public key to server
ssh [email protected] sh -c "'cat >> .ssh/authorized_keys'" < /tmp/sami.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment