HomeComputer VisionMachine LearningAI DeploymentOther PostsAbout
Locked myself out of SSH port Ubuntu AWS server using ufw
Viet Anh Ng.
April 17, 2019
1 min

Currently, I locked myself out of my VPS (Amazon EC2) after configuring ufw firewall. Here are what I’ve done to disable ufw and take back the control of my VPS.

  1. Stop your problem instance
  2. Paste this script in Instance Settings > View/Change User Data
  1. Start your instance and now you should be able to SSH.
  • Source: https://anhthang.org/2018/06/29-disable-firewall-in-ec2-instance-from-aws-console


Viet Anh Ng.

AI Developer / Blogger

Hi! I'm a software engineer. I love AI technologies and currently, I'm using machine learning to build awesome software products.


Deep Learning
Computer Vision

Social Media


Related Posts

ReactJS lifecycle method inside a functional Component
April 01, 2019
1 min
© 2020, All Rights Reserved.

Quick Links

About this siteContact

Social Media