0

I'm using a hosts.allowed for SSH. Now, some people have dynamic IPs but they also have dyndns.com hosts. How could I use a dyndns.com like host to /etc/hosts ?

(The server is a Debian 5.0 Lenny amd64)
(Changing to SSH key auth and so on is not a way.)

Apache
  • 294
  • 6
  • 19

1 Answers1

1

You can just add the DynDNS host names pointing to the clients' IP addresses to your /etc/hosts.allow file instead of literal IP addresses. See man 5 hosts_access.

joschi
  • 21,387
  • 3
  • 47
  • 50