Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2006 11:13:13 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Wojciech Puchar <wojtek@tensor.3miasto.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rshd, rlogind, .rhosts question
Message-ID:  <43C13A19.3050707@mac.com>
In-Reply-To: <20060108165904.A27239@chylonia.3miasto.net>
References:  <20060108165904.A27239@chylonia.3miasto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C13A19.3050707>