RCP and RSH
rsh {ip- address | host} [/user username] remote-command

router# rsh host /user keith ls -a

The following example allows the remote user netadmin3 on a remote host with the IP address
172.16.101.101 to execute commands on router1 using the rsh or rcp protocol. User netadmin3 is
allowed to execute commands in privileged EXEC mode.

ip rcmd remote-host router1 172.16.101.101 netadmin3 enable