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.

Received Response
211
Views
1
Comments

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!