From owner-freebsd-questions Tue Jun 13 3:23:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id B061437B556 for ; Tue, 13 Jun 2000 03:23:13 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 13 Jun 2000 11:23:09 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id LAA04482; Tue, 13 Jun 2000 11:23:08 +0100 (BST) Date: Tue, 13 Jun 2000 11:23:08 +0100 (BST) From: Jan Grant To: cjclark@alum.mit.edu Cc: David Daugherty , questions@FreeBSD.ORG Subject: Re: sshd not letting me in from dhcp In-Reply-To: <20000612075220.A275@dialin-client.earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Sat, Jun 10, 2000 at 11:33:14PM -0700, David Daugherty wrote: > > > > I have a laptop which gets it's IP via dhcp. When I try to ssh into a > > > > server on my local network the server drops the connection. If I try from > > > > a machine with a static IP it works fine. My hosts.allow has > > > > ALL : ALL : allow > > > > as the first line. What is forcing the ssh to drop the connection from the > > > > dhcp'd laptop? The line from my messages looks like: > > > > Jun 10 15:27:24 truman sshd[3989]: Connection from 192.168.1.246 denied. Authentication as user x was attempted. Do you have a PTR record for the DHCP-allocated address? If not, you'll have to get sshd to permit machines without the reverse-lookup check. With an ssh.org daemon, this means RequireReverseMapping no in sshd2_config. Probably something similar for OpenSSH? jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Semantic rules, OK? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message