Login
You're viewing the ruby.social public feed.
  • Nov 17, 2026, 10:48 PM

    #lazyweb What decides whether sshd reports an attempted login as an IP address or domain name? Do ssh sessions store the domain name when connecting?

    💬 1🔄 0⭐ 0

Replies

  • Nov 17, 2026, 10:51 PM

    @cr1901 I think there's a UseDNS option in sshd_config that controls it. Normally folks leave it off because it adds latency and leaks privacy. I'm assuming if it's on you only see IPs if the DNS lookup fails.

    💬 0🔄 0⭐ 0
  • Nov 17, 2026, 10:51 PM
    @cr1901@mastodon.social i believe it can come from any of:
    - reverse DNS lookups, if UseDNS in the sshd config is enabled
    - GSSAPI, which can end up providing the same information via a different route
    - hostname of the client, if provided
    💬 0🔄 0⭐ 0