Block RSH access by IP address

Hi All

i need to use RSH ( i can hear you all banging your head against a wall ) but i want to block a certain IP address from access my machine via RSH, is there way to do this

thanks
A

Yes. iptables or man hosts.deny (Linux).

Aside from what you already know (RSH bad, Mongo not use! Eat SSH instead.) the better way to secure RSH is to combine hosts.allow and hosts.deny so that only the AUTHORIZED stations can use it and NOTHING else. Deny should be the DEFAULT, and you want to only allow those you must.

Not askin', but sure wondering what would force the issue.
Good luck!

thanks guys