From owner-freebsd-questions@freebsd.org Wed May 9 23:01:19 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 7A10CFCE8F9 for ; Wed, 9 May 2018 23:01:19 +0000 (UTC) (envelope-from doctorwhoguy@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09F6768F74 for ; Wed, 9 May 2018 23:01:19 +0000 (UTC) (envelope-from doctorwhoguy@gmail.com) Received: by mail-io0-x234.google.com with SMTP id r9-v6so887718iod.6 for ; Wed, 09 May 2018 16:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iooXjzD2FnrkDjqTrEaBR0KmVKSSW3GxYo5jjt6R7Rg=; b=LvxXUohv31X2SIkrW5GR1sbLRjVpW7pNjjubm6iwoE7UDCeb1p344ddhTd1fSOugf+ RdDjIgyBUIesIchFHQpaYbDR0sneS0IKvgfi8Mcg8xzqyWfKasfAIjAYinL9UaO/mS5s 4DfJD41q3s9rSLQF+8oc+S7x3AMnHTcnEdsESwvjTE60PkYWUBGzh2l2wWdUsC9rj5xO Xncmkhy72nS5QAXGa8cK395oYi4a2tAj5srXQpyiLYBCLl+hdpXnWNVlvy0CfNl6w6G6 HQyCGCfTifM3J6SsaODjRiZdUgqbreC35sv0ipWS/16yj/cSDGBCDbLm1/vR3F/vzozz L0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iooXjzD2FnrkDjqTrEaBR0KmVKSSW3GxYo5jjt6R7Rg=; b=c+Z6eFX1ZOWELzXGMNfgWabSaNxtyLqH876FUiE+tqRrnRwLH4wgVReXxj5jJhy3Nd y2BdQY57BupsykL9ZgocmmddegNhL/6q8nD3worXlhaUsDkuynrgxD3gAU7mBhXcJPYu VqweonRpQfch+D+ItzekowzUgbD7afoHCranajbDEXx97AWm3syY2BhyMxAik7fqza+g +QjtscvQGp/fbzz+0hf6urwunGbZERK5EkZm6tYOKuo8OaxpxatVY+4trKdF4isXyml+ kjG/KpnJCZ8Que0Kk6VdLI8Or69uLQ0sKax6Mrmane7w/DH9GvwBKtiu7lt5zeQpo1AZ 03UQ== X-Gm-Message-State: ALQs6tAHgCyyZ59kKYxzgEZKsDHPBFFdD7oHW7gQ1RBTzfCXtwhLTKYg xjrG4wqgukPGvkfvZGDNafuMezJ7UtqMyD1KewmrrA== X-Google-Smtp-Source: AB8JxZpNJ+sQ1cgIBnRjtga0J04oq/MsiKdM9hGtuSLk8LwPAhcGTIQr+NgHUBfwAn468GBgIMR/Co9ZDvq6DiytYTI= X-Received: by 2002:a6b:895c:: with SMTP id l89-v6mr49093511iod.22.1525906878209; Wed, 09 May 2018 16:01:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:248f:0:0:0:0:0 with HTTP; Wed, 9 May 2018 16:01:17 -0700 (PDT) From: Patrick McMunn Date: Wed, 9 May 2018 18:01:17 -0500 Message-ID: Subject: sshd refuses connections until I restart the daemon To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Wed, 09 May 2018 23:01:19 -0000 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? -- Patrick McMunn