So, I got a new computer, and I wanted to set it up so I could connect to an existing droplet of mine. I have previously set up my other computer to connect to the droplet with SSH.
To connect my new machine, I followed the instructions from this article, specifically this part:
In order to add additional keys to pre-existing droplets, you can paste in the keys using SSH:
cat ~/.ssh/id_rsa.pub | ssh root@[your.ip.address.here] "cat >> ~/.ssh/authorized_keys"
Afterwards, it said the IP had been added to my list of known hosts, then asked for my password (which I had reset earlier).
It then said:
WARNING: Your password has expired. Password change required but no TTY available.
Figuring I just needed to reset it on my older machine, I switched to it, and attempted to connect. It connected, and asked me to reset my root password. I did, it logged me out, I reconnected… but it asked me to reset my root password again.
Now every time I try to connect on my original machine, it gets me to reset my root password. On my new machine, I can’t connect at all because it doesn’t seem to recognize any of the new root passwords I set!
Help?
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.
So, apparently, it just needed to nap on it, as it’s all working fine now! I reset the password again, and now everything is going smoothly on both computers.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
