From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 19:42:55 2007 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 49C1316A41B for ; Tue, 24 Jul 2007 19:42:55 +0000 (UTC) (envelope-from dominor@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0813D13C467 for ; Tue, 24 Jul 2007 19:42:54 +0000 (UTC) (envelope-from dominor@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so4020112pye for ; Tue, 24 Jul 2007 12:42:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KRp3fi5NiJ5HijANcJ/czOesLINNE6Bj2MNk8RTpYAdupNMRo103ReLyUBY+SSvucBsIKGracTSODsA5xs0LHE06LjbZqxRMJbtHZNL2N9Bz4ngvbJ6y0gfiTpeUDGtQoPDTCFLPgy/9l5EOkXlr8a6qSQzKaMKeEdQxMW3a3x0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=U24+dTPAIVAQbKtgN6YPQ3jIuvIP9N2WMbOIXWkC+xLwJxj4OeZuLWXSRtCJu7GCuu3HijmyBSqeUTp1lSJlsN1ySJ7Unp1p/mDoDF0sFTb8d/A73L4w/r/7vVgH0R4YdJ11+4OLMPWmEpQWWeBGlX4bdOOOLy64y3nWvYL6y5M= Received: by 10.35.86.12 with SMTP id o12mr8414409pyl.1185306173133; Tue, 24 Jul 2007 12:42:53 -0700 (PDT) Received: by 10.35.16.4 with HTTP; Tue, 24 Jul 2007 12:42:53 -0700 (PDT) Message-ID: <105fa37b0707241242t432ef3a2ufc5b0473d558dfe4@mail.gmail.com> Date: Tue, 24 Jul 2007 15:42:53 -0400 From: "Hakan K" To: Pollywog In-Reply-To: <200707241927.38359.lists-fbsd@shadypond.com> MIME-Version: 1.0 References: <11066.217.114.136.135.1180427946.squirrel@llca513-a.servidoresdns.net> <465d3e9e.uyoP2YaUttmVs6ON%perryh@pluto.rain.com> <20070724213326.5e8aa27d@localhost> <200707241927.38359.lists-fbsd@shadypond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: connecting user root with ssh 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: Tue, 24 Jul 2007 19:42:55 -0000 How can I change the ssh port? Thanks Troy http://dominor.com On 7/24/07, Pollywog wrote: > > On Tuesday 24 July 2007 11:33:26 Norberto Meijome wrote: > > On Wed, 30 May 2007 02:06:38 -0700 > > > > perryh@pluto.rain.com wrote: > > > * If "root" cannot log in remotely, a cracker has to guess three > > > > guess or brute force - so quite long random passwords (or ssh keys) are > > extremely recommendable. > > > > > things to obtain root access, instead of just one: > > > > > > + A valid username which is in the "wheel" group; > > > + That user's password; > > > + The root password. > > > > that is assuming, of course, that the user your just logged in with > belongs > > to wheel. > > If one must allow root logins via ssh, I recommend in sshd_config: > > PermitRootLogin without-password > > This will force the use of a passphrase and disallow root login with just > a > password. > _______________________________________________ > 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" >