rsh +a comphope.com ls
Logs onto comphope.com after authentication (because using +a) and after authentication processes in this case the ls command and then disconnects.
The rsh cannot be used to run interactive commands. Instead use the rlogin command.