From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 13:19:41 2003 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 31ACA37B401 for ; Tue, 1 Jul 2003 13:19:41 -0700 (PDT) Received: from makeworld.com (makeworld.com [12.15.124.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F41D43FB1 for ; Tue, 1 Jul 2003 13:19:40 -0700 (PDT) (envelope-from racerx@makeworld.com) Received: from makeworld.com ([12.15.124.131]) by makeworld.com (8.12.8p1/8.12.8) with ESMTP id h61KJbW5009465; Tue, 1 Jul 2003 15:19:38 -0500 (CDT) (envelope-from racerx@makeworld.com) Message-ID: <3F01EC94.1000205@makeworld.com> Date: Tue, 01 Jul 2003 15:18:28 -0500 From: Chris User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Hoffman References: <20030701104142.76899.qmail@web40608.mail.yahoo.com> <20030701190454.GA2286@rucus.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: Supote leelasupphakorn cc: =?ISO-8859-1?Q?David_Sieb=F6rger?= cc: freebsd-questions@freebsd.org Subject: Re: SSH login banner: IP address instead of DNS name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: racerx@makeworld.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 20:19:41 -0000 Paul Hoffman wrote: > At 9:04 PM +0200 7/1/03, David Siebörger wrote: > >> At 12:41 PM on Tuesday 1 July 2003, Supote leelasupphakorn wrote: >> >>> > Hi again. When I SSH into my 4.8 box, the first line of the >>> banner is: >>> > Last login: Mon Jun 30 19:31:44 2003 from >>> 15-characters-of-a-host-name >>> > That DNS name is truncated to 15 characters. I would much prefer an >>> > IP address. What do I need to change to get this? >>> >>> > --Paul Hoffman >> >> >> Run sshd with the -u 15 option. You can do so by adding this line to >> /etc/rc.conf: >> >> sshd_flags="-u 15" > > > Perfect, that's exactly what I needed. Thanks! > _______________________________________________ > 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" > > try sshd_flags="-u0" instead (man sshd) This will show only the IP. In addition, this will halt the DNS lookups -- Best regards, Chris ______________________________________________________________________ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers ______________________________________________________________________ 01010010011000010110001101100101011100100101100000000000