Date: Tue, 1 Jul 2003 21:04:54 +0200 From: David =?iso-8859-1?Q?Sieb=F6rger?= <drs@rucus.ru.ac.za> To: Paul Hoffman <phoffman@proper.com>, Supote leelasupphakorn <pjn0211@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: SSH login banner: IP address instead of DNS name Message-ID: <20030701190454.GA2286@rucus.net> In-Reply-To: <20030701104142.76899.qmail@web40608.mail.yahoo.com> References: <20030701104142.76899.qmail@web40608.mail.yahoo.com>
index | next in thread | previous in thread | raw e-mail
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"
> You can alter sshd's banner at the directive named "Banner"
> in the file "c/sshd/sshd_config".
That banner is shown before authentication, which is not what Paul is
talking about.
--
David Siebörger
drs@rucus.net
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701190454.GA2286>
