Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ably's avatar
Level 16

DigitalOcean password reset

I had to reset my root password in digitalocean. Server was connected with forge.

I placed ssh key as forge says:

Please make sure that the following SSH key is placed in both the /home/forge/.ssh/authorized_keys file and the /root/.ssh/authorized_keys file on your server.

However it's throwing an error:

WHEN CONNECTING AS "root" USER:

WARNING: Your password has expired.
Password change required but no TTY available.

And I can not establish connection between forge and digital ocean. I've tried to ssh to server with root user and ip but it says "permission denied (public key)".

How can I restore connection between forge and digital ocean?

0 likes
1 reply
nfauchelle's avatar
Level 11

@ably Login to your digital ocean account, on the dashboard under more select 'Access Console'. (Or click on the Droplet then click Access then click Console Access).

There, type in root and your password you got from the reset. Set new password as prompted. Sorted.

5 likes

Please or to participate in this conversation.