Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2008 10:13:49 +0100
From:      Vince Hoffman <jhary@unsane.co.uk>
To:        Gilles <gilles.ganault@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [SSHd] Limiting access from authorized IP's
Message-ID:  <4808664D.1060801@unsane.co.uk>
In-Reply-To: <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com>
References:  <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gilles 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?
> 
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
> 
> /usr/sbin/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.


Vince

> 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?4808664D.1060801>