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.)

link|improve this question

75% accept rate
What exactly is "/etc/hosts based SSH auth"? – joschi Jul 7 '10 at 7:48
When you put host files who are allowed to connect to the PC. But yea I messed up. hosts.allowed .. I mean. – Shiki Jul 7 '10 at 7:56
feedback

1 Answer

up vote 0 down vote accepted

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.