From owner-freebsd-questions@FreeBSD.ORG Fri Feb 2 14:05:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D70C16A401 for ; Fri, 2 Feb 2007 14:05:00 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id F41E113C4A5 for ; Fri, 2 Feb 2007 14:04:59 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.13.8/8.13.8) with ESMTP id l12E5iGt052845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Feb 2007 14:05:47 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45C344FF.7000101@unsane.co.uk> Date: Fri, 02 Feb 2007 14:04:47 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Arindam References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SSH woes 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: Fri, 02 Feb 2007 14:05:00 -0000 Arindam wrote: > I have a Pentium III 733 Mhz box with 512 MB RAM running FreeBSD 6.1. > I also have a second box with Fedora Core 2. I tried connecting to my > FreeBSD box using ssh from my Fedora Core 2 machine. > > # ssh -l root > Password: > Password: > Password: > > It kept asking me for Password: although everytime I put the correct > value. I tried out clearing the .ssh* files in my home directories and > trying to reconnect. None of it worked. > > Where am I going wrong. > By default Freebsd will not allow root login via ssh. best bet is to add your non root user to wheel and login as that user, then su to root. If you really need to login as root you need to edit /etc/ssh/sshd_config but then again the only reason to allow remote root logins rather than using su/sudo i can think of is laziness ;) Vince > -- Arindam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"