From owner-freebsd-questions@freebsd.org Thu May 10 08:00:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CB24FB768F for ; Thu, 10 May 2018 08:00:53 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (mail.dpedia.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C545770A5 for ; Thu, 10 May 2018 08:00:52 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.102.219] (helo=[192.168.2.102]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1fGgVO-0000Kw-Gc for freebsd-questions@freebsd.org; Thu, 10 May 2018 10:00:50 +0200 From: Matthias Apitz To: Subject: Re: sshd refuses connections until I restart the daemon Date: Thu, 10 May 2018 10:00:51 +0200 User-Agent: Dekko/0.6.20; Qt/5.4.1; ubuntumirclient; Linux; MIME-Version: 1.0 Message-ID: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.102.219 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 08:00:53 -0000 On Thursday, 10 May 2018 01:01:17 CEST, Patrick McMunn=20 wrote: > I sometimes access my FreeBSD 11.1-RELEASE-p9 box from my laptop via ssh. > Sometimes I can connect, but sometimes I get the message "ssh: connect to > host 192.168.0.71 port 22: Connection refused". But if I walk over to the > computer and manually restart the sshd daemon, I can then go back to my > laptop and successfully ssh into the FreeBSD box. Why would it stop > accepting ssh connections until restarting the daemon, and how can I fix > this from recurring? >=20 What's written in /var/log/messages about sshd? --=20 Sent from my Ubuntu phone http://www.unixarea.de/