From nobody Mon Jan 29 15:14:00 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TNsL761FKz58snm for ; Mon, 29 Jan 2024 15:15:11 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TNsL72wTgz4cZh for ; Mon, 29 Jan 2024 15:15:11 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1rUTLl-00GIVi-8o; Mon, 29 Jan 2024 16:15:05 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 40TFE0JV066284; Mon, 29 Jan 2024 16:14:00 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 40TFE06W066283; Mon, 29 Jan 2024 16:14:00 +0100 (CET) (envelope-from naddy) Date: Mon, 29 Jan 2024 16:14:00 +0100 From: Christian Weisgerber To: Paul M Foster Cc: freebsd-questions@freebsd.org Subject: Re: Enabling SSHD Message-ID: References: <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan> X-Rspamd-Queue-Id: 4TNsL72wTgz4cZh X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE] Paul M Foster: > I have a new FreeBSD 14 install. I'd like to be able to do some management > on this machine (on my LAN) via SSH. I have a stock /etc/ssh/sshd_config > file, except for allowing root to login. I've made that edit to the file, > and restarted the SSH daemon via /etc/rc.d/sshd restart. However, this > machine still refuses SSH connections, either from a regular user or root. Is sshd running? Check with ps. Are you blocking the ssh port (22) with a packet filter? What does a client say when you try to connect with "ssh -v"? -- Christian "naddy" Weisgerber naddy@mips.inka.de