From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 09:28:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9FB7FFFF for ; Wed, 20 Feb 2013 09:28:14 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 66FFFE68 for ; Wed, 20 Feb 2013 09:28:14 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U85yB-0004p5-0i for freebsd-questions@freebsd.org; Wed, 20 Feb 2013 09:28:07 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U85yA-0005Tw-Ou for freebsd-questions@freebsd.org; Wed, 20 Feb 2013 09:28:06 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1K9S6VJ029472 for ; Wed, 20 Feb 2013 09:28:06 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1K9S64p029471 for freebsd-questions@freebsd.org; Wed, 20 Feb 2013 09:28:06 GMT (envelope-from mexas) Date: Wed, 20 Feb 2013 09:28:06 GMT From: Anton Shterenlikht Message-Id: <201302200928.r1K9S64p029471@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: cannot ssh into a box with DHCP assigned IP address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 09:28:14 -0000 I have a laptop with FreeBSD -current, with ip address assigned via DHCP. The laptop has neither a static ip address, nor a domain. I can ping the laptop fine, but cannot ssh into it. The sshd is running, /etc/ssh/ssd_config seems fine, /etc/hosts.allow is fine. However, /etc/hosts is just the default: # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain # Is it the lack of a domain that prevents me from getting ssh access? I try to ssh with just a dynamic ip address, for which ping seems to work fine. Or is the problem somewhere else? I'm not even sure I'm asking the right questions. Thanks Anton