Arifish
n/a
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!
Heya,
By default DigitalOcean Droplets have their PasswordAuthentication turned off and are using SSH keys for connection.
On Droplet creation you are asked to provide your SSH key otherwise the Droplet can’t be created.
Having said that, if you don’t have that SSH key you can use the DigitalOcean Web Console or Recovery Console to gain access to your Droplet and add a new SSH key or Turn on PasswordAuthentication:
https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-console/
Hi there,
As mentioned already, by default DigitalOcean Droplets have their PasswordAuthentication turned off and are using SSH keys for connection.
But if you’ve made any chances and want to determine the authentication system of your DigitalOcean Droplet, you’ll primarily need to check the SSH configuration:
Login to your Droplet:
Examine SSH Configuration:
cat /etc/ssh/sshd_config.PasswordAuthentication. If it’s set to yes, password authentication is enabled.PubkeyAuthentication. If it’s set to yes, SSH key authentication is enabled.You can also follow the steps here on how to recover from a lost SSH key:
https://docs.digitalocean.com/support/i-lost-the-ssh-key-for-my-droplet/
Hope that this helps!
Best,
Bobby
Heya,
The default option is to have the password authentication disabled. This can be changed at any time as Bobby mentioned.
Also, you can use the recovery console to regain access to your droplet in case of emergency or when normal ssh-client access is not available.
Regards
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.