ssh-copy-id question

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:

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.