"Last login" message

Gary Gatten Ggatten at waddell.com
Thu Dec 3 23:39:04 UTC 2009


I would guess sshd is doing a reverse lookup on the ip your connecting from. If it resolves you get the FQDN, else just the IP. 

----- Original Message -----
From: owner-freebsd-questions at freebsd.org <owner-freebsd-questions at freebsd.org>
To: questions at freebsd.org <questions at freebsd.org>
Sent: Thu Dec 03 17:16:54 2009
Subject: "Last login" message

When I ssh to my FreeBSD machine, I get something like this:

Last login: Thu Dec  3 15:12:40 2009 from 11.22.33.44
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec  3 11:33:28 PST 2009



..where "11.22.33.44" is an IP address.  However, sometimes, in place
of an IP address I get a truncated hostname, for example
"daffy.nerius.co" (note the last 'm' missing).
I was wondering what controls this, meaning if I get an IP or a
hostname, and why it's being truncated.
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"





<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>



More information about the freebsd-questions mailing list