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
Output:
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.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 2 comments… read them below or add one }
hello Vivek,
Could you please tell how do I turn on RSH on ubuntu, if its turned off. Need it temporarily.
doesnt work
rsh xxx
Password: