Make sshd log IP addresses, not hostnames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Can I adjust the ssh daemon to log IP addresses instead of hostnames?

I assume this situation is feasible...

* 10.10.10.10 attempts to ssh to the server
* reverse dns resolves to "somehost.domain.com"
* ssh daemon logs "somehost.domain.com" in messages
* foward dns on "somehost.domain.com" resolves to 10.10.10.20

Thus it causes some of my scripts a problem if the DNS resolutions
don't match.  It would be nice if it could just log IP addresses only.

Thanks,
Scott
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux