A day in the life of an Admin

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

ListenAddress 192.168.1.10

I got ssh errors connecting to 127.0.0.1 this was solved by adding another rule below it like so

ListenAddress 127.0.0.1

Do the same for hosts.allow

sshd: 192.168.2.0/255.255.255.0

sshd:127.0.0.1

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.