rshd, rlogind, .rhosts question

Chuck Swiger cswiger at
Sun Jan 8 08:13:09 PST 2006

Wojciech Puchar wrote:
> i use this widely with NetBSD and now try with FreeBSD
> rlogin/rlogind works the same - all OK. if host is entered in .rhosts 
> then it logs in without password
> rsh -l login host command worked fine too in NetBSD same way - no asking 
> for password if .rhosts consist of my host and user name.
> in FreeBSD rsh doesn't work that way, always ask for password.
> what's the difference? how to fix it?

FreeBSD's rsh may really be ssh?  In any event, use ssh-keygen to set up some 
keys, and copy them to authorized_keys, and use that to permit password-less 
login between machines securely.


More information about the freebsd-questions mailing list