So today I thought of securing my ssh server and got some tips here. Then somehow I ended up locking myself out of ssh connection for a whole day. After adding this rule -change ip to suit your setup
I got ssh errors connecting to 127.0.0.1 this was solved by adding another rule below it like so
Do the same for hosts.allow
This should sought out any connection problems you get. I will look at the logs and see how it looks now I will be able to rest easier knowing then script kiddes won’t get in so easily.