[SSHd] Limiting access from authorized IP's

Gary Newcombe gary at pattersonsoftware.com
Fri Apr 18 09:15:09 UTC 2008


Hi Gilles,

ssh is part of the base system, not an installed port (by default anyway) so you won't see it with pkg_info which will only list installed packages. The config file is /etc/ssh/sshd_config.

To limit connections, you should be using the firewall. I do use hosts.allow too, but the firewall is your primary defence.

hth, Gary

On Fri, 18 Apr 2008 10:51:45 +0200
Gilles <gilles.ganault at free.fr> wrote:

> Hello
> 
> 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?
> 
> 2. Although it's up and running, I can't find SSHd in the list of
> installed apps:
> 
> $ which sshd
> 
> /usr/sbin/sshd
> 
> $ pkg_info | grep -i ssh
> => Nada. How come?
> 
> Thank you.
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list