Skip to content

Add new developer SSH key to DigitalOcean droplet #4

@kjkaustin

Description

@kjkaustin

Give the new developer SSH access to the droplet for deployments.

Steps:

  • Ask dev to generate an SSH key if they don't have one: ssh-keygen -t ed25519 -C "name@mightyandtrue.com"
  • They send you their public key (~/.ssh/id_ed25519.pub)
  • Add it to the droplet: ssh root@[droplet-ip] "echo 'PUBLIC_KEY' >> ~/.ssh/authorized_keys"
  • Test: ssh root@[droplet-ip] from their machine

Do not share your own private key or the root password.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions