SSH login banner: IP address instead of DNS name

Paul Hoffman phoffman at proper.com
Tue Jul 1 13:02:49 PDT 2003


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!


More information about the freebsd-questions mailing list