6

We want to block all access to SSH, except for two IP addresses. One address is dynamic, it starts with 124.567.890.xxx where xxx is changing all the time. I read that you can do this by changing /etc/hosts.allow? How can we do this?

Kevin
  • 91
  • 1
  • 2
  • 3

1 Answers1

5

This should be as trivial as

sshd : 124.567.890. : allow

Sergei
  • 1,216
  • 16
  • 24