From nobody Tue Jan 30 04:55:55 2024 X-Original-To: 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 4TPCYD4whKz58GDb; Tue, 30 Jan 2024 04:56:00 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Received: from rusty.tulip.relay.mailchannels.net (rusty.tulip.relay.mailchannels.net [23.83.218.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPCYC3x1bz4PlJ; Tue, 30 Jan 2024 04:55:59 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quillandmouse.com header.s=dreamhost header.b=ZjhwGSz7; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (mx1.freebsd.org: domain of paulf@quillandmouse.com designates 23.83.218.252 as permitted sender) smtp.mailfrom=paulf@quillandmouse.com X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id CAFA6141F91; Tue, 30 Jan 2024 04:55:57 +0000 (UTC) Received: from pdx1-sub0-mail-a269.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6FE75142AC0; Tue, 30 Jan 2024 04:55:57 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706590557; a=rsa-sha256; cv=none; b=DzhefoguuAVUy+CrLYTaFSwKJnG4hAUylL1tt/2/zBCpDZuUHNVA1XfCtavX55tbMMJVp2 zgneAohFcQTNJQ6xwN0HODc4cKiZg91j1ooEOy8taujXxtXVs90hdJBvz4+5zm025pR1BY RI8XH7Y4DJiswbeYp990T/rN7M3ybAl1ic03NhDd5m/bLB3wImTzkZ6NrIyy0NpIXO2R92 lEOqA3JP/VFeqBtAwmHkvROQYHPQ9Ne2fk9tX31adrR7++wFe6qSy427a8JxZDlUD+vfpy qYXLR6iT7MhHZi16DAbjbMvQZiioJmMPv+1j3y5NKoD8DEWFmkbmMT46l/SKww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706590557; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=n38eMxm8JGNpqOXUWiNlL2dH/84a0rHWSBbc6/CxPJg=; b=bvIOiXdajIEWN5Om0LEFohV3aI01d4sxe2gG84XZfnS/1uvXIVksUF6xz0y1DOPptt6yJf ArEZwOodD9VvULrdYg46M4ho5khWeWEaPbawJ/tltnRv5mWgROTwoGl3VBaKXIKg0wNbBQ ZoU+mIKTWu0d9K6boZEzOmnWwjHwmsD38qp8dbuZNxYKsAgSrlqE56v0OzDTcA4dapUb+u r037QPAAmghiYc6yzw0yEZdiHEdNGD6bjsP6O/pxu1lAJxi9nVhRR7IPpdjsrvMV9npdlu +4LmNrl/90jW1gpzK/1saJws+sXt58D+rUyayV0dYLU/QZHvGEJInH6ZiJTAYA== ARC-Authentication-Results: i=1; rspamd-9c9494d96-wjxlk; auth=pass smtp.auth=dreamhost smtp.mailfrom=paulf@quillandmouse.com X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|paulf@quillandmouse.com X-MailChannels-Auth-Id: dreamhost X-Snatch-Tart: 3df3e59d0d685ffe_1706590557699_1049158193 X-MC-Loop-Signature: 1706590557699:4239126854 X-MC-Ingress-Time: 1706590557698 Received: from pdx1-sub0-mail-a269.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.20.137 (trex/6.9.2); Tue, 30 Jan 2024 04:55:57 +0000 Received: from yosemite.mars.lan (unknown [47.205.190.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: paulf@quillandmouse.com) by pdx1-sub0-mail-a269.dreamhost.com (Postfix) with ESMTPSA id 4TPCY91pCMzGK; Mon, 29 Jan 2024 20:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quillandmouse.com; s=dreamhost; t=1706590557; bh=n38eMxm8JGNpqOXUWiNlL2dH/84a0rHWSBbc6/CxPJg=; h=Date:From:To:Subject:Content-Type; b=ZjhwGSz7K+k86lREf9MD32gdf+IgVh1hJ3XnwQWLWC9aKK47OZ1i15djwGDgFvqWY T/ff+o1/arTNfmd+hwi/MUTdQvjVEiV1CsLnIVpmStO9IQRtGNj7w762juwlr9hL/9 N2hg35cG8A185QR+Y6ofIck72Esaugy+3wk7tgNExofkS5H5782bR0Jda9T+QRTBgk bl3ZOh/SycYImR9UfpF+mxx0X6EybAJ6Q5HJnhHx+W1XhKLGVEj8tkz8+mvlVgElt2 Zbw93ZF0vmBSR7ouZiEm6Z0/nVZrmuCmrzj6t6BiuPH86LitBrb+NNYdbIgCEQICih 7MdV692ehBy0A== Received: from paulf by yosemite.mars.lan with local (Exim 4.96) (envelope-from ) id 1rUgA7-000JiD-2x; Mon, 29 Jan 2024 23:55:55 -0500 Date: Mon, 29 Jan 2024 23:55:55 -0500 From: Paul M Foster To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: [SOLVED] Re: Enabling SSD Message-ID: <20240130045555.rh56scckxauiaqhj@yosemite.mars.lan> Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: <20240130043205.2japt7ja7j5urm5r@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: <20240130043205.2japt7ja7j5urm5r@yosemite.mars.lan> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20]; R_DKIM_ALLOW(-0.20)[quillandmouse.com:s=dreamhost]; RWL_MAILSPIKE_VERYGOOD(-0.20)[23.83.218.252:from]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:63213, ipnet:23.83.216.0/22, country:CA]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[quillandmouse.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[23.83.218.252:from]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org,questions@freebsd.org]; DKIM_TRACE(0.00)[quillandmouse.com:+] X-Rspamd-Queue-Id: 4TPCYC3x1bz4PlJ On Mon, Jan 29, 2024 at 11:32:05PM -0500, Paul M Foster wrote: > Folks: > > Fresh install of FreeBSD 14. The following changes in /etc/ssh/sshd_config: > > LogLevel DEBUG > PermitRootLogin yes > PubkeyAuthentication no > PasswordAuthentication yes > KbdInteractiveAuthentication no > > No modifications have been made to other files, including the PAM files. > > My intent is to insist on password, not public key authentication. Root > login is more or less irrelevent, just convenient. > > Regardless of edits to the file, or which user, attempts to login from > elsewhere on the LAN fail. The response on the client side: I'm not asked > for a password at all. The connection just closes. This client has > consistently been able to SSH into other Linux clients on this LAN. It's > based on the latest Debian, so it's particularly out of date. > > Here are the relevant lines from auth.log: > > Jan 30 03:24:22 buckaroo sshd[3121]: Connection from 192.168.254.20 port > 60568 on 192.168.254.30 port 22 > Jan 30 03:34:22 buckaroo sshd[3121]: Connection closed by authenticating > user paulf 192.168.254.20 port 60568 [preauth] > > The last line puzzles me. Does this mean that the *client* closed the > connection? If so, any guesses why? If this is no help, any other reasons > why SSH is not working properly? > > Paul > Well, I solved it. On the CLIENT, in the ~/.ssh/config, I had: PasswordAuthentication no When I changed this value to yes, it all worked. Thanks to all who attempted to help. It is appreciated. Paul -- Paul M. Foster Personal Blog: http://noferblatz.com Company Site: http://quillandmouse.com Software Projects: https://gitlab.com/paulmfoster