Hi I have an established with a ssh key, which is my main machine, and in the office create another ssh key machine, and add that key to the panel of my droplet, but when access from the terminal of the machine asks me which no password which is no way to recover the password, greetings that are well
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!
You cannot add a key to an existing droplet via the control panel. Adding it to the control panel makes it available to be automatically inserted into new droplets you create but for an existing droplet you will need to:
1.) Copy your new key’s content to your clipboard.
2.) Log into your droplet using the existing ssh key (the one added when it was created).
3.) Open the file “/root/.ssh/authorized_keys” and paste the new key’s content to the end of this file.
You should now be able to authenticate with either key.
When you create a new droplet you can simply select both keys from the create page and they will be automatically inserted in new droplets.
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.