From owner-freebsd-questions Wed Nov 27 9:22:31 2002 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 4A0A437B401 for ; Wed, 27 Nov 2002 09:22:30 -0800 (PST) Received: from hotmail.com (oe72.pav2.hotmail.com [64.4.36.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 006C943E9C for ; Wed, 27 Nov 2002 09:22:30 -0800 (PST) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Nov 2002 09:22:29 -0800 X-Originating-IP: [202.63.172.99] From: "Unix Tools" To: "Zhihui Zhang" , References: Subject: Re: how to ssh as root Date: Wed, 27 Nov 2002 10:44:29 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 27 Nov 2002 17:22:29.0939 (UTC) FILETIME=[90614030:01C29639] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, In /etc/ssh/sshd_config PermitRootLogin no To PermitRootLogin yes ----- Original Message ----- From: "Zhihui Zhang" To: Sent: Wednesday, November 27, 2002 10:28 PM Subject: how to ssh as root > > I used to ssh as root to a FreeBSD box and uses the root password. > Today, I reinstall 4.5-Release and try the same thing: > > $ ssh -l root mymachine > otp-md5 100 pl6491 ext > S/Key Password: > > I was expecting something like: > > $ ssh -l root mymachine > root@mymachine's password: > > I did set PermitRootLogin to yes in file /etc/ssh/sshd_config. Why this > change? > > Thanks. > > -Zhihui > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message