Results 1 to 1 of 1
I want to configure my hosts.allow file to restrict access to sshd to my school's computer labs, which are in a range, for example, 12.34.*
The way I was told ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-14-2006 #1Just Joined!
- Join Date
- Jun 2005
- Location
- Indiana
- Posts
- 27
Configuring hosts.allow for sshd?
I want to configure my hosts.allow file to restrict access to sshd to my school's computer labs, which are in a range, for example, 12.34.*
The way I was told to do this was changing the hosts.allow to read:
When I do this, nobody can access sshd. However, I change it back to reading:Code:sshd: 12.34.0.0/255.255.0.0
and after that it's happy and lets anyone connect. I have also tried entering the individual IP in there, which also doesn't seem to work.Code:sshd: ALL
I don't understand why it only works when sshd: ALL is in there. Any ideas from anyone?


Reply With Quote
