Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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