From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 19:27:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9A3D16A4CE for ; Sat, 5 Feb 2005 19:27:46 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 634F243D2D for ; Sat, 5 Feb 2005 19:27:46 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 5 Feb 2005 13:27:40 -0600 Message-ID: <42051E06.1050508@daleco.biz> Date: Sat, 05 Feb 2005 13:27:02 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Van Allen References: <2063a95c05020509493b35ee0d@mail.gmail.com> In-Reply-To: <2063a95c05020509493b35ee0d@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Feb 2005 19:27:41.0036 (UTC) FILETIME=[C23972C0:01C50BB8] cc: freebsd-questions@freebsd.org Subject: Re: Can't ssh to server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 19:27:47 -0000 Doug Van Allen wrote: >I'm running FreeBSD 5.3 and I'm trying to connect to it from school >using ssh. At school, I get connection refused. I checked the >auth.log and found: > >Feb 3 21:23:05 FreeBSD sshd[44237]: twist xxxxx.xxxx.edu to /bin/echo >"You are not welcome to use sshd from xxxxx.xxxx.edu." > >I ran tcpdmatch and got: > >$ tcpdmatch sshd bt20510.hvcc.edu >warning: sshd: no such process name in /etc/inetd.conf >client: hostname bt20510.hvcc.edu >client: address 151.103.21.131 >server: process sshd >matched: /etc/hosts.allow line 91 >option: severity auth.info >option: twist /bin/echo "You are not welcome to use sshd from >bt20510.hvcc.edu." > >I have made changes to hosts.allow to only allow my local network and >the ip's of the workstations from school. I am running PF and only >allowed the same rules. So what gives? > > Can you show the pertinent lines from /etc/hosts.allow? Kevin Kinsey