By SergeantFTC
I’m on Ubuntu 14.04, and somewhere along the line of trying to change my SSH port from 1365 to 22, I locked myself out of accessing the computer via SSH. I can SSH into port 22 from the localhost, so I’m guessing the problem is with iptables (yes, I did update the config for the new port). I’m using fail2ban to prevent SSH brute forcing. The VPS also runs OpenVPN AS. Here’s a screenshot of my iptables INPUT chain.. If anyone could help point me in the right direction of what might be the problem, I would be grateful.
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 your server using the built in console access on your VPN page. The console access simulates the physical connection of a keyboard/monitor - so you can’t lock yourself out of that.
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.