How to remove "reset root password"?
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.
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.