SSH login banner: IP address instead of DNS name

Supote Leelasupphakorn pjn0211 at yahoo.com
Tue Jul 1 03:41:43 PDT 2003


> 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

You can alter sshd's banner at the directive named "Banner"
in the file "c/sshd/sshd_config".

Cheer,



________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/


More information about the freebsd-questions mailing list