cannot ssh into a box with DHCP assigned IP address

Daniel Feenberg feenberg at nber.org
Wed Feb 20 13:59:43 UTC 2013




> 	From: Fleuriot Damien <ml at my.gd>
> 	To: mexas at 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 at freebsd.org
>
> 	On Feb 20, 2013, at 10:28 AM, Anton Shterenlikht <mexas at 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


More information about the freebsd-questions mailing list