Non-quoted shell metacharacters on the command line are interpreted on the local machine, while quoted metacharacters are interpreted on the remote machine. Options -D enables socket debugging on the TCP sockets used for communication with the remote host. This option also displays the locuser and remuser being sent to rshd . This option is useful for determining the exact case of your domain and user names, which must be correct in the .rhosts and hosts.equiv files.
All output is sent to standard output.
This is useful when you are running an interactive command. Troubleshooting If you are having trouble connecting to rshd on a remote host, here are some possible solutions to your problems. Check these files to ensure that an entry exists for remuser on the machine you are connecting from. You can use rsh -D to determine the names being sent as locuser and remuser . UNIX systems may not always know your Windows machine by the same name that other Windows machines do.