Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Locked out of ssh.

Summary:

I accidentally set the firewall rules using ufw on my vm and denied access to port 22, 443, 80 etc.

I've tried to create a console connection but it's not working out as I do not have a username and password.

I've tried the a serial connection whereby i can set the password but I can't seem to access the grub menu.



Content (required):

A way to bypass/ disable ufw rules.

Version (include the version you are using, if applicable):

ubuntu 22

ampere based vm


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!