Trying to setup SSH keys so I can connect to my droplets files with filezilla. I should have done this during the droplet creation stage but didn’t and now I have to do it manually.
I’m using this tutorial: https://www.digitalocean.com/docs/droplets/how-to/add-ssh-keys/to-existing-droplet/
I’m trying to locally use ssh-copy-id to copy my public SSH key to the droplet.
I know I have to substitute the IP address in this example with my droplets IP, but what do I use for username part of the command? Do I use my digitalocean account email address?
ssh-copy-id username@droplet-ip-here
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, you can use root as the username. If you do not have the password, you can reset it via the control panel. Though keep in mind that this would require a quick reboot.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.