When I see logs I see many ssh access tries (type of brute-force attacks) ideally I want to disable ssh for everyone but for my ip address, is that possible?
Or it still will not prevent people trying to login via ssh?
I could try sudo ufw deny ssh but I know I can't use sudo ufw allow ssh from xxx.xx.xx.xxx
I'm pretty noobie with server-side stuff.
sudo ufw allow from YOUR_IP proto tcp to any port 22
?