BPI-M2 Zero Ssh: connect to host port 22: Connection refused banana pi

I changed the armbian interfaces file to put my credentials in it:

I turned off all ssh servers that was using port 22, but Im still not able to ssh into my banana pi m2 zero. I could ping it though. ChatGPT told me to change this file: sudo nano /etc/ufw/before.rules

But it doesn’t seem to exist. What to do?