From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 03:03:03 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 57D4016A4CE for ; Sun, 6 Feb 2005 03:03:03 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4306043D31 for ; Sun, 6 Feb 2005 03:02:59 +0000 (GMT) (envelope-from dvanallen@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so572236wra for ; Sat, 05 Feb 2005 19:02:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jS4VkPe0lV35mpebBUKaw5NaIIOpd0S0mCRKPstC+CQiyGJ3tBcerHEuN2lx1U36EL5iOfpjCoTF2SZqAYI1ZYdou4bNKPpMYctoA6v+cwuXYqTFe6SqnuSuqv2mjFuHzlWX+q0ogY7YArXjWZvjMgqB+gBW1ENBk2KhR7g7x4o= Received: by 10.54.50.40 with SMTP id x40mr161863wrx; Sat, 05 Feb 2005 19:02:55 -0800 (PST) Received: by 10.54.22.48 with HTTP; Sat, 5 Feb 2005 19:02:55 -0800 (PST) Message-ID: <2063a95c050205190222cc14ea@mail.gmail.com> Date: Sat, 5 Feb 2005 22:02:55 -0500 From: Doug Van Allen To: freebsd-questions@freebsd.org In-Reply-To: <2063a95c05020509493b35ee0d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <2063a95c05020509493b35ee0d@mail.gmail.com> Subject: Re: Can't ssh to server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Doug Van Allen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 03:03:03 -0000 I got it fixed. I forgot I kept ssh commented in inetd.conf until I wanted to use it. On Sat, 5 Feb 2005 12:49:29 -0500, 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? >