Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2008 19:14:49 +1000
From:      Gary Newcombe <gary@pattersonsoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: [SSHd] Limiting access from authorized IP's
Message-ID:  <20080418191449.212f43d3.gary@pattersonsoftware.com>
In-Reply-To: <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com>
References:  <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080418191449.212f43d3.gary>