Skip to content

Instantly share code, notes, and snippets.

@CharlieEtienne
Last active October 14, 2018 07:56
Show Gist options
  • Save CharlieEtienne/145a9bd4c6a0e5684ec6c564a16a2876 to your computer and use it in GitHub Desktop.
Save CharlieEtienne/145a9bd4c6a0e5684ec6c564a16a2876 to your computer and use it in GitHub Desktop.
Copy SSH Key command on OVH shared hosting
# Copy SSH Key command on OVH shared hosting
# Replace "username", "cluster001" with your personal informations
# Replace "~/.ssh/id_ed25519.pub" by the path to your public rsa key if you have a custom one
cat ~/.ssh/id_ed25519.pub | ssh ssh://username@ssh.cluster001.hosting.ovh.net "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment