I first noticed the problem that whenever I would try to ssh into my droplet using the domain name, it would take about two minutes. When I used ssh -vvv, I found that it was the IPv6 causing the problem-- It would time out when trying the IPv6 address, then fall to the IPv4 and work fine–
debug1: Connecting to example.com [****:****:***:**::****:8001] port 22.
debug1: connect to address ****:****:***:**::****:**** port 22: Connection timed out
debug1: Connecting to example.com [***.***.**.240] port 22.
debug1: Connection established.
(I generalized the message. It’s not exactly a secret site, though.)
And when I try to connect using only the IPv6 address instead of the domain, it fails. (Works fine with IPv4 address.)
I went through the DO SSH troubleshooting article, but it didn’t make any difference. Where can I go to try to troubleshoot this?
(If it’s relevant, I’m using nginx on this server. I have another server that uses nginx, but it doesn’t have this problem.)
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!
Well, I’m at the point now where I just need to destroy the droplet and restart. I can no longer SSH at all anymore, and I can’t log in through the console, either. Thanks for the help, though.
You probably just got the DNS AAAA record wrong. Check the IPv6 address you put in the DNS AAAA record. That is, make sure it matches whatever the IPv6 address actually is on your ‘droplet’.
And nginx has nothing to do with it.
Also realize that your ip6tables is separate from your iptables (which is IPv4-only), so make sure that any filters allow SSH.
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.