UFW blocks my ssh login

By mistake, i enabled ufw but forgot to open port 22 and logout. Now i cannot ssh to my server, how can turn off ufw without ssh to my server?

1 Reply

@qhc_license --

Use lish or glish and log in at the console to do what you need to do. You won't even have to shut off the firewall, just modify it to open port 22.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct