Upon logging into a new droplet the first time via SSH using an SSH Key I am being asked to reset the root password - I would like to disable this. Is this possible?
My scenario is this.
1/ Create a new droplet with an SSH key from an image via Java Api (This image has all the correct sshd_config settings - PermitRootLogin without-password and PasswordAuthentication no 2/ SSH into this box via JSch Java Api and perform some operations.
Step 2 would not be possible if there is a prompt to reset the root password. I can verify that the SSH key is setup correctly because when I attempt to SSH to the box the first time I am not asked for a password.
Any help would be greatly appreciated.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!