Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 1999 17:12:27 -0400 (EDT)
From:      David Coder <dacoder@dcoder.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Dan Larsson <support@junglenote.com>, "[FreeBSD-Questions-List] (E-post)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: only allow ssh from predetermined ips
Message-ID:  <Pine.BSF.4.10.9908101702190.60104-100000@doc.dcoder.com>
In-Reply-To: <Pine.BSF.4.10.9908101308200.79312-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Aug 1999, Doug White wrote:

> On Tue, 10 Aug 1999, Dan Larsson wrote:
> 
> > I've set up a group of 5 servers which are physically located at the other
> > end of town. Up until now I've driven all the way over there to administer 
> > them. But what I want to do now is to stay put and login over the internet
> > using ssh. But I only want to allow ssh to connect from specific ips or
> > something similar. Someone got any ideas how to set this up on fbsd3.2?
> 
> ssh is alreadly linked with libwrap, so simply set /etc/hosts.allow
> appropriately.
> 
I've not heard of that one.  But editing /etc/sshd_config, listing on the
AllowHosts line, separated by spaces, the IP's from which connections are to be
allowed, then doing a sighup on the parent sshd process will certainly work. 

dc
_____________________
David Coder
SysAdmin
WebHosting
Verio.com
703-749-7955 x1314



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908101702190.60104-100000>