[SSHd] Limiting access from authorized IP's
jhary at unsane.co.uk
Fri Apr 18 09:13:54 UTC 2008
> I have a couple of questions about running SSHd:
> 1. I'd like to limit connections from the Net only from specific IP's.
> It seems like there are several ways to do it (/etc/hosts.allow,
> AllowHosts/AllowUsers, TCP-wrapper, port-knocking, etc.). Which would
> you recommend?
I tend to use a firewall anyway so thats what works best for me, on
machine that I dont firewall, /etc/hosts.allow (which is TCP-wrappers)
is a good quick and easy solution. Its very much a "whatever works best
for you" type question.
> 2. Although it's up and running, I can't find SSHd in the list of
> installed apps:
> $ which sshd
> $ pkg_info | grep -i ssh
> => Nada. How come?
ssh is part of the base system. Its also in ports so you can have a more
recent version if you like or so you have have things like the ssh hpn
patches (http://www.psc.edu/networking/projects/hpn-ssh/) etc etc.
> Thank you.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions