I have completed the tutorials for initial setup of the Ubuntu 16.04 server, LAMP, and Secure Apache with Let’s Encrypt. I was able to log in one time. After I lost my connection through bad wifi my terminal froze. I closed the terminal and could not log back in.
ssh: connect to host hostname.org -p port: Connection timed out
I enabled a pass phrase, but it doesn’t ask it. What could be wrong?
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!
You can access the server if you log into the control panel in DigitalOcean and use the Console.
It’s hard to say what went wrong, but my first guess would be either firewall or you changed the default port 22 of SSH. Which tutorial did you use specifically? And did you do anything outside the scope of the tutorial?
Have you already changed your DNS to point to your server - otherwise continue to use the IP address.
@technicallyblue
Make sure the file /etc/ssh/sshd_config has the line Port 5069 and reboot the server after the change.
It seems like you’ve added a firewall rule to block port 22 - at least that’s what I’m seeing when scanning your server:
22/tcp closed ssh
Remember to click “Reply” under the post or use the @ sign to notify people - otherwise we might miss a message from you.
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.