Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2005 13:27:02 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Doug Van Allen <dvanallen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't ssh to server
Message-ID:  <42051E06.1050508@daleco.biz>
In-Reply-To: <2063a95c05020509493b35ee0d@mail.gmail.com>
References:  <2063a95c05020509493b35ee0d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42051E06.1050508>