Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 08:26:31 -0500 (EST)
From:      Daniel Feenberg <feenberg@nber.org>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        ml@my.gd, freebsd-questions@freebsd.org
Subject:   Re: cannot ssh into a box with DHCP assigned IP address
Message-ID:  <Pine.GSO.4.64.1302200824340.14639@nber6>
In-Reply-To: <201302200945.r1K9jpq7029535@mech-cluster241.men.bris.ac.uk>
References:  <201302200945.r1K9jpq7029535@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help



> 	From: Fleuriot Damien <ml@my.gd>
> 	To: mexas@bristol.ac.uk
> 	Subject: Re: cannot ssh into a box with DHCP assigned IP address
> 	Date: Wed, 20 Feb 2013 10:31:22 +0100
> 	Cc: freebsd-questions@freebsd.org
>
> 	On Feb 20, 2013, at 10:28 AM, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
>
> 	> 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:

While on the problem machine, can you ssh to localhost? ssh to the IP 
address?

I would suspect the problem is in /etc/hosts.allow or /etc/hosts.deny, or
perhaps the subnet mask is incorrect.

The lack of a domain should not be a problem.

daniel feenberg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1302200824340.14639>