Locked out of DigitalOcean droplet (Ubuntu)

Job ID: 31360318

Budget: $15 – $25 USD

When I try to reset the droplet's password, it sends me the new password via email.

I then ssh root@ip with the new password and I'm prompted to change it.

I then enter the old password and the new password twice. then the system just closes the connection.

A quick google confirmed this is a known issue, but I see no solution.

Can you help?
Related categories: System Admin Linux DNS Ubuntu Network Administration