I guess a quick and easy way is to edit /etc/hosts.deny file to deny some remote ip you can test ssh from.
Of course, don't do this FROM that same remote machine via ssh, or you might find you can no longer get into the box to make the change back. I suggest testing that at the physical box, so you can reverse the changes.
Of course, you'll need to have a service file in /etc/xinetd.d for sshd. I am not sure if the ssh rpms do this for you. Make sure you check.
|