From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 13:18:07 2004 Return-Path: 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 7952B16A4CE for ; Mon, 12 Apr 2004 13:18:07 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2196E43D68 for ; Mon, 12 Apr 2004 13:18:07 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 12 Apr 2004 15:18:51 -0500 Message-ID: <407AF979.7060002@daleco.biz> Date: Mon, 12 Apr 2004 15:18:01 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: RazorOnFreeBSD References: <005301c42097$b175bb90$0f01a8c0@razor> In-Reply-To: <005301c42097$b175bb90$0f01a8c0@razor> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Apr 2004 20:18:51.0765 (UTC) FILETIME=[5F024250:01C420CB] cc: freebsd-questions@freebsd.org Subject: Re: ssh root denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 20:18:07 -0000 RazorOnFreeBSD wrote: >Hi everyone, > >I have some troubles with ssh.... >I have a Freebsd server 4.9 working in a closet without screen. >So I would like to use it through ssh from another station with OpenSSH to configure it when I need it. >I can connect with a user login / password, but not with root / password. >Is there any reason ? did I miss something ? > >I use the command : ssh root@192.168.1.1 (This one doesn't work with the right password) >to connect or : ssh razor@192.168.1.1 (This one does) > >Ouputs from OpenSSH : > >Connection to 192.168.1.1 closed by remote host. >Connection to 192.168.1.1 closed. > >Not really clear for me..... :s >And I'm pretty sure the password is correct because when it's wrong it just asks me the password again! > >Does anybody have any idea ? > >Thanx > >Razor. > > > > Root logins are disallowed by default on FreeBSD for security reasons. The recommended approach is to log on an account that is a member of the "wheel" group, and su(1) to root when necessary for administrative purposes while doing your routine work under a less-privileged UID... That said, I believe you can allow root logins by adjusting /etc/ssh/sshd_config .... Kevin Kinsey DaleCo, S.P.