Remote Shell (RSH) is a management protocol used by numerous Unix systems. It uses TCP port 514. The client and server negotiate the TCP port number to be used by the client for the STDERR (standard error) output stream.
Cisco ASA supports NAT of the negotiated port number with RSH inspection. To enable this feature, use the inspect rsh command.