Both rsh or rlogin prompt for a password. All you need to do is open /etc/hosts.equiv file on host system and add entries for all hosts you would like use without password .
This file list of hosts and users that are granted “trusted” r (rsh/rloging) command access to your system without supplying a password.
$ cat /etc/hosts.equiv
job1.ha1.nixcraft.com job2.ha1.nixcraft.com job3.ha1.nixcraft.com
In above file job1, job2, job3 hosts can connect without a password.
Caution: R (rsh/rlogin) commands are very insecure if possible switch to secure shell (ssh). You can configure ssh so that is does not prompt for a password.
[click to continue…]