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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.