Recognition

No awards yet.

Posts

1 Posts
  • Published Question

    What is the best way to pass private key to droplet on creation?

    Let's say my droplet needs private SSH key to access other services (like pull things from a git repo). Can I pass private keys in "Add your SSH keys" for droplets? I think I can add it in user-data/cloud-init, but do...
    Accepted Answer: The "Add your SSH keys" box is only for adding a public key to the Droplet for SSH access. You can add a private key via cloud-init, though that does have some drawbacks like potentially being logged. The user-data i...
    1 By sbatishchev Configuration Management Ubuntu