From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 06:35:57 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D76CB106567C for ; Sun, 7 Sep 2008 06:35:57 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id BBD698FC17 for ; Sun, 7 Sep 2008 06:35:52 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 244DB5C6B; Sun, 7 Sep 2008 02:35:57 -0400 (EDT) X-Virus-Scanned: by ClamAV at aegis.hamla.org Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Qrvk9EKc9a7X; Sun, 7 Sep 2008 02:35:55 -0400 (EDT) Date: Sun, 7 Sep 2008 02:35:48 -0400 From: Sahil Tandon To: FBSD1 Message-ID: <20080907063548.GA38224@shepherd> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 06:35:57 -0000 FBSD1 wrote: > On FreeBSD 7.0 how do I tell ssh to allow login from root Change the "PermitRootLogin" parameter in /etc/ssh/sshd_config. > and also to listen on port 9922 instead of port 22? Edit the the "Port" parameter in the same config file. And as an aside -- Sahil Tandon