From owner-freebsd-questions@FreeBSD.ORG Sun Jan 8 16:13:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C95AF16A41F for ; Sun, 8 Jan 2006 16:13:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CCF643D48 for ; Sun, 8 Jan 2006 16:13:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id D4B5A5D02; Sun, 8 Jan 2006 11:13:08 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57432-04; Sun, 8 Jan 2006 11:13:08 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 0D5025CFC; Sun, 8 Jan 2006 11:13:08 -0500 (EST) Message-ID: <43C13A19.3050707@mac.com> Date: Sun, 08 Jan 2006 11:13:13 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wojciech Puchar References: <20060108165904.A27239@chylonia.3miasto.net> In-Reply-To: <20060108165904.A27239@chylonia.3miasto.net> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: rshd, rlogind, .rhosts question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 16:13:09 -0000 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