A TCP connection to a router is established using an IP address. Using the host name is valid only when you are initiating an rcp or rsh command from a local router. The host name is converted to an IP address using Domain Name System (DNS) or host-name aliasing. To allow a remote user to execute rcp or rsh commands on a local router, you must create an entry for the remote user in the local authentication database. You must also enable the router to act as an rsh or rcp server. To enable the router to act as an rsh server, issue the ip rcmd rsh-enable global configuration command. To enable the router to act as an rcp server, enter the ip rcmd rcp-enable command. The router cannot act as a server for either of these protocols unless you explicitly enable the capacity